主要出在eval上。 python3.0. 第一個方案:. while True: ten=input("x:"). try: x=eval(ten). if type(x)==int:break. except:pass. 然後輸入asf, ...
確定! 回上一頁