Argv, raw_input()

homework
python

#1

why doesn' this work?
the code is correct but i can't seem to add 20 dots in the print statement.

from sys import argv
script , user_name = argv

print "Hi %s, I'm the %s script" % (user_name , script)
print "I'd like to \ask you a few questions %s " % user_name

print 'Do you "like" me %s?' % user_name
like = raw_input(">")

print "How old are you?"
age = raw_input(">")

print "how tall are you %s ? " % user_name
height = raw_input(">")

print "." * 20 '\t> Alright ,so you said %r about liking me.' % like
print " \n \t> you are %r years old" % age
print " \n \t> you are %r cms tall." % height

this works just fine.

from sys import argv
script , user_name = argv

print "Hi %s, I'm the %s script" % (user_name , script)
print "I'd like to \ask you a few questions %s " % user_name

print 'Do you "like" me %s?' % user_name
like = raw_input(">")

print "How old are you?"
age = raw_input(">")

print "how tall are you %s ? " % user_name
height = raw_input(">")

print "." * 20
print '\t> Alright ,so you said %r about liking me.' % like
print " \n \t> you are %r years old" % age
print " \n \t> you are %r cms tall." % height

why?


#2

Please post a link to the exercise or tell us if this is homework. Thank you.