ex10


 1 '''
 2 tabby_cat = "\tI'm tabbed in."  
 3 persian_cat = "I'm split\non a line."
 4 backslash_cat = "I'm \\ a \\ cat." 
 5 
 6 fat_cat = """
 7 I'll do a list:
 8 \t* catfood
 9 \t* Fishies
10 \t* Catnip\n\t* Grass""")
11 
12 print (tabby_cat)
13 print (persian_cat)
14 print (backslash_cat)
15 print (fat_cat)'''
16 
17 #while True:
18 for i in [1,2,3,4,5,6,7,8]:
19    
20     print ("%r\r" % i,)

 

 

 

posted @ 2016-11-16 20:07  听风呤  阅读(136)  评论(0编辑  收藏  举报