Python Forum
[PyGame] Random.randint not working please help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Random.randint not working please help
#2
1. Use code tags.
2. It a typo on line 24.
enemyX=random.randint: (0,800)
should be

enemyX = random.randint(0,800)
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
Random.randint not working please help - by SupaNub - Dec-09-2019, 07:45 AM
RE: Random.randint not working please help - by Windspar - Dec-09-2019, 09:14 AM

Forum Jump:

User Panel Messages

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