Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71336 娄瀚兮 11石头剪刀布 Python3 Compile Error 0 MS 0 KB 282 2024-04-22 20:51:21

Tests(0/0):


Code:

p1,p2=input().split() p1,p2=int(p1),int(p2) wot=0 if p1 == 0: if p2 == 1: wot=1 if p2 == 2: wot = 2 elif p1 == 1: if p2 == 0: wot=2 if p2 == 2: wot = 1 elif p1 == 2: if p2 == 1: wot=2 if p2 == 0: wot = 1 print('winner:'+wot)


Run Info:

Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 6)