Hi Iam beginner to python i have an error while running this code

前端 未结 0 1329
野性不改
野性不改 2021-01-29 10:08
item = [\'rock\', \'paper\', \'scissors\']
player = input(\'Enter the item: \')
if player == item[player]:
    print(\'win\')
else:
    print(\'lose\')

相关标签:
回答
  • 消灭零回复
提交回复
热议问题