Menu
Coddy logo textTech

Recap - Initialize Variables

Part of the Fundamentals section of Coddy's Python journey — lesson 9 of 77.

challenge icon

Challenge

Beginner

Write code that initializes the following variables:

  • k with the value 88 (note: lowercase 'k')
  • PI with the value 3.14 (note: uppercase 'PI')
  • name with the value “Bob”.

Make sure you use the exact variable names and values. Remember:

  • Python is case sensitive! (kK)
  • String values must be enclosed in quotes: "bob" not bob

Try it yourself

# Type your code below


# Don't change the line below
print(f"k = {k}")
print(f"PI = {PI}")
print(f"name = {name}")

All lessons in Fundamentals