Python Forum
Assign 1 player to the computer
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Assign 1 player to the computer
#2
First of all, while loop condition is wrong

state = 0
while state > 10 or state < 51:
    state = int(input("Enter counter number between 10 and 50 "))

please tell me how the game works?
Reply


Messages In This Thread
Assign 1 player to the computer - by ironic100 - Aug-14-2020, 10:22 AM
RE: Assign 1 player to the computer - by spalisetty06 - Aug-14-2020, 11:45 AM
RE: Assign 1 player to the computer - by GOTO10 - Aug-14-2020, 01:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My code won't say Player wins or computer wins. No errors. its_a_meLuigi64 2 1,764 Dec-01-2021, 04:43 PM
Last Post: its_a_meLuigi64

Forum Jump:

User Panel Messages

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