Python Fundamentals/Variables & Data Types

Variables & Data Types

0/2 exercises
Exercise 1 of 2

Declaring Variables

variablesintfloatstrboolarithmetictype conversion

Create the following variables and print the result:

  1. A variable pi with the value 3.14159
  2. A variable radius with the value 7
  3. A variable circumference equal to 2 * pi * radius
  4. Print circumference using print()