This is my code and i would like a display which shows the person’s name and ‘is stupid’ next to it.
n = raw_input("what is your name? ")
print ( n ,“is stupid”)
But it’s showing:
what is your name? _______
(u’_____’, ‘is stupid’)
This is my code and i would like a display which shows the person’s name and ‘is stupid’ next to it.
n = raw_input("what is your name? ")
print ( n ,“is stupid”)
But it’s showing:
what is your name? _______
(u’_____’, ‘is stupid’)
print
is a statement in python2, the parentheses you use will make a tuple (an immutable list), causing a different output then you expect