I'm taking a beginner Python course and this was one of the activity lessons:
my code:
print "How old are you?",
age = raw_input()
print "How tall are you?",
height = raw_input()
print "How much do you weigh?"
weight = raw_input()
print "So, you're %r old, %r tall and %r heavy." % (age, height, weight)
I then run it through Powershell and input the data when prompted, but when I type in 5'9" for height and it prints out the input in final string it looks like this:
So, you're '24' old, '5\'9"' tall and '140 lbs' heavy.
How do I get the backslash to go away?