my_name = 'Uthman Yusuf' my_age = 35 #thats is true by the way my_height = 74 #inches my_weight = 180 #lbs my_eyes = 'Blue' my_teeth = 'White' my_hair = 'Brown' print "Lets talk about %s" % my_name print "He's %d inches tall." % my_height print "Hes %d pounds heavy" % my_weight print "Actually thats not too heavy." print "He's got %s eyes and %s hair" %(my_eyes, my_hair) print "His teeth are actually %s depending on the coffee." % my_teeth # This is a very tricky one so get it right the first time 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