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



demo.py


1
2
3
4
5
6
7
8
9
10
11
12
13
o = object()
 
# 於命令列印出訊息
print()
print(o)
print(".. is object's string format")
print()
print("Program terminates ....")
print()
  
# 檔名: demo.py
# 作者: Kaiching Chang
# 時間: July, 2014

demo2.py


1
2
3
4
5
6
7
8
o = object()
 
print()
print(o)
print(".. is object's string format")
print()
print("Program terminates ....")
print()

the end

沒有留言: