Thread
:
Groundhog learns Python - Road to a Basketball Text Sim
View Single Post
08-19-2016, 09:27 PM
#
154
Groundhog
Coordinator
Join Date: Dec 2003
Location: Sydney, Australia
It is - I actually have no idea what _random is, I know there's a few libraries with the underscores.
Another quick tip - you don't need the (0,8) with range, you can just:
Code:
for i in range(8): A.append(4 + random.random())
__________________
Politics, n. Strife of interests masquerading as a contest of principles.
--Ambrose Bierce
Groundhog
View Public Profile
Send a private message to Groundhog
Visit Groundhog's homepage!
Find More Posts by Groundhog