rendered paste body#!/usr/bin/python
"""
first python script
"""
first_string = "This is a string"
second_string = "This is another string"
first_number = 4
second_number = 5
print "This is one string"
print "This joins " + "together. It is " + "the plus operation"
print "This example uses a %s %s" % ("format", "specifier")
print "This will start the following \non a new line"
print "The first variables are %s, %s, %d, %d" % (first_string, second_string, first_number, second_number)
#!/usr/bin/python
"""
Dictionary test
"""
menus_specials = {"breakfast" : "sausage and eggs"}
menus_specials["breakfast"] = "canadian ham"
menus_specials["lunch"] = "tuna suprise"
menus_specials["dinner"] = "cheeseburger deluxe"
print "%s" % menus_specials ["breakfast"]
print menus_specials.values()
#!/usr/bin/python
menu_specials = {"breakfast" : "eggs", "Lunch" : "pancakes", "dinner" : "steak"}
print menu_specials.values()
print menu_specials.keys()