ungleich-learning-circle/sami/learn-python-the-hard-way/ex10.py

17 lines
260 B
Python
Raw Normal View History

2020-05-19 14:28:33 +00:00
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)