40423105 王奕智
print('hello word')介紹python的用處及基礎的指令
print('Hickory Dickory Dock! The mouse ran up the clock')跟print("Hickory Dickory Dock! The mouse ran up the clock")執行出來是一樣的. print('Hickory Dickory Dock! \nThe mouse ran up the clock')\n表示插入新的一行 print("""This is the strangest way to print over multiple lines i know""")可以取代\n,增加程式的美觀性,可以用+號將兩段字元加在一起. 使用\\就可以顯示\
在影片的最後有列舉幾個錯誤 print(Hickory Dickory Dock) 正確print('Hickory Dickory Dock') print('It's a small world') 正確print("It's a small world") print("Hi there') 正確print("Hi there") prnit("Hello World!")正確print("Hello world!")
分數:70分