Python初學者對print()函數的探索與編程技巧

寫做靈感來源於John Zelle的Python程序設計(第三版) print()用途 1.print()函數用於打印數據,數據類型(int, float,string) 例如>>> print (0) 0web print (0.55) 0.55 print (‘hello world’) hello worldshell 2.擁有計算功能,字符串相加,相乘 print(5+56) 61 pri
相關文章
相關標籤/搜索