Skip to content

Instantly share code, notes, and snippets.

@Telltak
Created November 7, 2010 19:45
Show Gist options
  • Save Telltak/666354 to your computer and use it in GitHub Desktop.
Save Telltak/666354 to your computer and use it in GitHub Desktop.
My 'extra credit' answer for lpthw exercise 13 part 3
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