2011年9月20日 星期二

100設計一甲_week1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#coding: utf8
#--->代表註解,程式會跳過,繼續執行
#print()-->印出 ()內的
#ex1~6 使用,請自行削掉註解符號(#)
#ex1
print ("python!")
print ("WOW!~")
print ("python!","hello","WOW!",end="-->this is end!\n",sep="----")
###ex2
##print ("python!",end="")
##print ("WOW!~")
###ex3
##print ("python!","hello","WOW!",sep="----")
###ex4
##print ("python!","hello","WOW!",sep="----",end="-->this is end!\n")
###ex5
##for i in range (1,10):
## print ("hi","hello","python",sep="~")
###ex6
##for i in range (1,60):
## print ("Number:",40023100+i,"mde")

1 則留言:

  1. 學長:下次要敎我 def的用法!!!今天沒有聽的很懂!!!謝謝

    回覆刪除