Python Fundamentals/Variables & Data Types
Variables & Data Types
Exercise 1 of 2
Declaring Variables
variablesintfloatstrboolarithmetictype conversion
Create the following variables and print the result:
- A variable
piwith the value3.14159 - A variable
radiuswith the value7 - A variable
circumferenceequal to2 * pi * radius - Print
circumferenceusingprint()
python
⌘ EnterRun your code to see output here.