my_name = 'Omari Wooldridge' my_age = 16 my_height = 112 # inches my_weight = 122 # lbs my_eyes = 'Brown' my_teeth = 'White' my_hair = 'Black' print "Let's talk about %s. " my_name print "He's %d inches tall." my_height print "He's %d pounds heavy." my_weight print "Actually that's about normal ." print "He's got %s eyes and %s hair." % (my_eyes & my_hair) print "His teeth are usually %s depending on Diet Coke." % my_teeth print "if I add %d, %d, and %d I get %d." (my_age, my_height, my_weight, my age, my_height, + my_weight)
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question