3 ms·
I can help that flame war... I bet those 5 were written by folks with more (or stronger) skill with C/C++/Java other strongly typed language where casting is r
by njharman 16y ago
I can help that flame war...
I bet those 5 were written by folks with more (or stronger) skill with C/C++/Java other strongly typed language where casting is required/common.
Casting is uncommon and "weird" in Python. Usually means you're being unpythonic. As in this case you should be using randint or randrange rather than cast to int.