Python123:測驗1: Python基本語法元素 (第1周)

廣泛認爲Python誕生於1991年 關於字符串的序號的內容 變量的命名爲何不能以數字開頭 print()是輸出函數,eval()函數的做用是去掉內容最外面的引號 基礎函數 python tempstr = input("") tempstr = eval(tempstr) if tempstr==0: print("Hello World") elif tempstr>0: pr
相關文章
相關標籤/搜索