Introduction to Computer Science/1.6 Formative Activity - "Exit Ticket"

1.6 Formative Activity - "Exit Ticket"

🎯 Activity Goals
  • Apply your skills in calculation and type casting.
  • Demonstrate that you can create a complete, working program.

Your Task: Circle Area Calculator

The formula for the area of a circle is Area = πr² (pi times the radius squared).

Write a Python program that does the following:

  1. Prompts the user to enter the radius of a circle.
  2. Converts the user's input into a number (a float is best for this).
  3. Calculates the area of the circle. You can use 3.14159 for the value of pi.
  4. Prints a clear, formatted sentence with the final answer.

How to Submit

For this activity, you will submit a single screenshot.

  1. Arrange your Thonny window so that your Python code is visible in the editor and the program's output is visible in the shell below.
  2. Take a screenshot of the entire Thonny window.
  3. Submit the screenshot image file to this folder.