Python語言基礎(1)

    1. 基礎語法 1.1 第一個Python程序 In [1]: a = 'Hello, world!' a Out[1]: 'Hello, world!' In [2]: print(a) Hello, world! notebook環境下,輸出變量的值或表達式的結果的方法:直接使用變量名或表達式,或print()函數html 在.py文件的運行環境下,使用print()函數輸出py
相關文章
相關標籤/搜索