ParseError: неправильный ввод в строке 12 файла main.py
Вот мой код:
Код: Выделить всё
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!"
Подробнее здесь: https://stackoverflow.com/questions/443 ... trinket-io
Мобильная версия