TORONTO KIDS COMPUTER CLUB | PMCA Sunday 14:00 Python Homework 20.08.23.
18218

# PMCA Sunday 14:00 Python Homework 20.08.23.

## 29 Aug PMCA Sunday 14:00 Python Homework 20.08.23.

Question 1:
Ask the user for two numbers and then print the addition, subtraction, division(quotient), multiplication and the remainder(the number left when the first number is divided by the second number)

```Sample Execution in shell
-------------------------------------------------
>>> Enter first number: 20
>>> Enter second number: 8
>>> Subtraction is 12
>>> Multiplication is 160
>>> Division is 2
>>> Remainder is 4```

Question 2:
Ask the user for the radius of the circle in meters and then calculate the area and circumference of the circle by using the formulas –
The formula of the area of the circle is (pi * radius * radius) and circumference is (2 * pi *radius)
For the value of pi use 3.14

```Sample Execution in shell
----------------------------------------------------
>>> Enter Radius of the circle : 3
>>> Area of the circle is 28.26 sq. m.
>>> Circumference of the circle is 18.84 sq. m```