【20190515】【Python學習】Python-100-Days(未完待續,持續更新……)

Day01 1. 輸出「hello, world!」 知識點:python (1) 從輸出結果發現,print 函數用雙引號 (" ") 或者用單引號 (' ') 均可以,結果是同樣的。(見圖1)ide (2) print 函數默認最後有一個換行符,但若是用了 sep 和 end,就沒有換行符,必須手加換行符 '\n'。(見圖2, 3)函數 # hello world.py print("hell
相關文章
相關標籤/搜索