python the hard way ex upto ex13

This commit is contained in:
samialazar 2020-05-19 16:28:33 +02:00
commit ed8222535a
7 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,16 @@
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)