- when you use the temp=input(""), there is no other type of temp but the string type. Thus, if you want to use in other types, you should use in the way like int(temp).
- in the python, you should use the Tab in the if and else; besides, in the sentence of if, you should add the :
- there is no ;
时间: 2024-11-07 06:19:47