This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Here's some new strange stuff, remember type it exactly. | |
days = "Mon Tue Wed Thu Fri Sat Sun" | |
months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug" | |
print "Here are the days: ", days | |
print "Here are the months: ", months | |
print """ | |
There's something going on here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x = "There are %d types of people." % 10 | |
binary = "binary" | |
do_not = "don't" | |
y = "Those who know %s and those who %s." % (binary, do_not) | |
print x | |
print y | |
print "I said: %r." % x | |
print "I also said: '%s'." % y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ideas+, choice = raw_input(), if choice == "what ever input" | |
print """ | |
****************************** | |
* Austin's Python experience * | |
****************************** | |
Hello please type the name of the lesson you want | |
ex. one, two, three.""" | |
data = (raw_input()) |
NewerOlder