Computer Science, asked by sanasigar, 8 months ago

Write the output for following program in python. ​

Attachments:

Answers

Answered by Equestriadash
14

Given data:

  • Radius = 3.75
  • Area = 3.14159*Radius**2

To print: The area of the circle.

Answer:

>>>Radius = 3.75

>>>Area = ²3.14159*Radius**2

>>>print (Area, 'm²')

44.178609375 m²

NOTE: Python is a case sensitive language. When typing a formula, data must be typed as they were registered in the first place.

Attachment - 1 ⇒ Output

Attachment - 2 ⇒ Error; formula typed with a lowercase (radius ≠ Radius)

Attachments:
Similar questions