Python 入門指南 V2.00 - 單元 1 範例及練習程式碼



demo.py


o = object()

# 於命令列印出訊息
print()
print(o)
print(".. is object's string format")
print()
print("Program terminates ....")
print()
 
# 檔名: demo.py 
# 作者: Kaiching Chang 
# 時間: July, 2014

demo2.py


o = object()

print()
print(o)
print(".. is object's string format")
print()
print("Program terminates ....")
print()

the end

沒有留言: