Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hi, I'm Pywans, your digital assistant.")
- print("Let's do this thing!")
- user_name = input("What is your name? ")
- print("Hello, " + user_name + ", welcome.")
- print("Let's calculate the area of a circle!")
- input1 = input("What is the circle's radius? ")
- radius = float(input1)
- result = 3.14 * (radius * radius)
- output = str(result)
- print("A circle of radius " + input1 + " has an area of " + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement