print("hello word")
print('我喜歡“香蕉”') # 單引號里是可以寫雙引號的字符串
print('we\'ar go to shopping.') # 如果要單引號內使用單引號,需要轉譯字符\
print("我們發現這個\"地方\"不一樣")
print("Hi" + "Tom") # 字符串采用加號鏈接
總結:
1. Python中單行注釋一般用 # ,多行注釋有兩種
'''
注釋內容1
注釋內容2
'''
或者這樣
"""
注釋1
注釋2
"""
