print("Welcome to Bird's Python Program") #Taking name input name = input("What is your name?") print("Thank you",name) print("Now we are goning to find the area of a circle") radius = eval(input("To start please give me the radius of your circle.")) pi = 3.14159 area = radius * radius * pi print(name, "the area of the circle is", area) print("Thank you for your time")
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