Created
November 7, 2010 19:45
-
-
Save Telltak/666354 to your computer and use it in GitHub Desktop.
My 'extra credit' answer for lpthw exercise 13 part 3
This file contains 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
from sys import argv | |
script, first, second, third = argv | |
print "this script , called %s, is going to ask you the questions %s, %s, %s" % ( script, first, second, third) | |
first_answer = raw_input(first) | |
second_answer = raw_input(second) | |
third_answer = raw_input(third) | |
print "for question %r, you answered %s" % ( first, first_answer) | |
print "for question %r, you answered %s" % ( second, second_answer) | |
print "fpr question %r, you answered %s" % ( third, third_answer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment