Exercise10|Whatwasthat?

tabby_cat = "\tI'm tabbed in."
persian_cat = "I'm split\non a line."
backslash_cat = "I'm \ a \ cat."

fat_cat = """
I'll do a list:
\t* cat food
\t* fishies
\t* catnip\n\t* Grass
"""

print (tabby_cat)
print (persian_cat)
print (backslash_cat)
print (fat_cat)

while True:
for i in ["/","-","|","\","|"]:
print ("%s\r" %i,)

你可能感兴趣的:(Exercise10|Whatwasthat?)