Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Tuple basics
Tuples in functions
Summary
14. Question 1

Instruction

Okay! Here comes Question 1.

Exercise

Write a function named get_circle_circumference_area(r) that accepts a single argument – the radius of a circle – and calculates its circumference and area. Return a tuple with both of these values in that order (circumference first, then area). Use 3.14 as the value of pi.

\text{circumference} = 2*\pi*r
\text{area} = \pi*r^2