Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23160

Python: How to call the values in a string? [duplicate]

$
0
0

I'm a newbie of Python. In the following code(or see attached), I want to call all the numbers input inside a string in the last step of the program. How should I do that?

print "how old are you?",age = raw_input()print "how tall are you?",height = raw_input()print = (expected outcome: You're X old, X tall, etc.)

Viewing all articles
Browse latest Browse all 23160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>