ParseError: bad input on line 12 in main.py
Hier ist mein Code:
Code: Select all
import random
choice = input("Welcome to rock paper scissors! You go first.")
choice = choice.upper()
a = [1, 2, 3]
b = random.choice(a)
if b == 1:
print("My choice: ROCK")
elif b == 2:
print("My choice: PAPER")
elif b = 3:
print("My choice: SCISSORS")
print("Your choice: " + choice)
if choice == b:
print "Draw. Play again!"
Mobile version