标签:return 完成 img int com argv info == turn
import sys
def numeration(a,b,c):
if b == ‘+‘:
return int(a) + int(c)
elif b == ‘-‘:
return int(a) - int(c)
elif b == ‘*‘:
return int(a) * int(c)
elif b == ‘/‘:
return int(a) / int(c)
print(numeration(sys.argv[1],sys.argv[2],sys.argv[3]))
标签:return 完成 img int com argv info == turn
原文地址:https://www.cnblogs.com/542684416-qq/p/9356737.html