carykh/PrisonersDilemmaTournament

Is Math library allowed?

GoldenWither opened this issue · 2 comments

I know I'm only supposed to use python libraries of numpy and random, but is it okay to use math.floor() from the math library?

I think it should be fine (you could wait to see if #51 gets an official answer), but for a lot of math functions, including this case, you could also do them with numpy. numpy.floor

Oh ok. I've never really used numpy so i didn't realize it had that function. Thanks for the help!