【发布时间】:2020-03-26 20:33:56
【问题描述】:
print("Choose the unit to convert to")
print("Seconds = S")
print("Minutes = M")
print("Hours = H")
choice = input("Enter (S/M/H): "
if choice == "S":
var5 = (var1 / var2)
print("Awnser:")
它说无效的语法是带有if choice == "S":的行
无效的语法是:在“A”之后
【问题讨论】:
标签: python-3.x math syntax converters invalid-argument