Section 1 - Instruction

You've learned how if statements work with conditions that evaluate to True or False. Now let's practice writing and reading these basic decision-making structures.

Engagement Message

Ready to strengthen your conditional skills?

Section 2 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Fill in the blanks to create an if statement that checks if a player's score is above 100:

Suggested Answers

  • if
  • ==
  • <
  • while
Section 3 - Practice

Type

Multiple Choice

Practice Question

Which of these conditions will make the code inside the if block run?

A. The condition is True, so the code runs B. The condition is False, so the code doesn't run C. The condition is neither True nor False D. The code always runs regardless of the condition

Suggested Answers

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

Type

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