Section 1 - Instruction

You've learned that variables are like labeled boxes that store information. Now let's practice creating and using them effectively.

Engagement Message

Ready to become a variable master?

Section 2 - Practice

Type

Multiple Choice

Practice Question

Which line of code correctly creates a variable named player_name and stores the value "Alex" in it?

A. player_name = "Alex" B. "Alex" = player_name C. player_name == "Alex" D. Alex = player_name

Suggested Answers

  • A - Correct
  • B
  • C
  • D
Section 3 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Complete the code to create a variable called age with the value 25, then print it:

Suggested Answers

  • age
  • 25
  • age
Section 4 - Practice

Type

Multiple Choice

Practice Question

What would be the output of this code?

A. I live in Tokyo B. I live in city C. I live in "Tokyo" D. Tokyo

Suggested Answers

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal