PI = 3.14 Radius = float(input(" Enter the value of radius : ")) Area = PI * Radius * Radius circumference = 2 * PI * Radius print("Area : ", Area) print("Circumference : ",circumference )
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter