Tip=352.7 Total=3527 People=3 print "The answer is", (Tip/People)+(Total/People), "cents for each person." Length=12.5 Width=16.7 print "The area of the room is", Length*Width, "square meters, and the perimeter is", (Width*2)+(Length*2), "meters." print " " print "Give me a Fahrenheit tempurature to convert Celcius.2" Number=raw_input() #F=Number #C=5/9.0*(F-32) #print C
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