Psst! Check what courses we have in our offer, and get them all here to save $727. Tick-tock—this deal ends on 3/21.
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