python學習整理第一稿

簡單的程序hello world 1、新建notepad++文檔,輸入print("hello world")(單引號和雙引號都可以),另存爲hello.py,存在2、C:\Users\雁允文件夾下。 3、打開命令提示符,輸入python hello.py 4、再命令提示符裏面輸出 hello world 輸入和輸出 輸出:print可以接受多個字符串,用逗號隔開,遇到逗號輸出空格 例:print
相關文章
相關標籤/搜索