Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turtle and Random
#2
Because you broke the link the random module. By naming your first random number 'random', you made it so the name 'random' no longer refers to a module with randint in it. Be careful with your variable names.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Turtle and Random - by Juiceman - Oct-07-2017, 01:16 AM
RE: Turtle and Random - by ichabod801 - Oct-07-2017, 01:41 AM
RE: Turtle and Random - by Juiceman - Oct-07-2017, 01:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating code to make up to 4 turtle move simultaneously in a random heading J0k3r 3 5,647 Mar-05-2018, 03:48 PM
Last Post: mpd

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020