python eval input用法 ... a = eval(input('請輸入一個數字:')) 對於接收使用者輸入的字串,則可以直接使用input()函式: input_string = input(“請輸入一個字串:”) eval( ...
確定! 回上一頁