New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Python Basics: Input, Output & Conditions

Quiz

(5)
Played 44 %Accuracy 46 Average time 02:13

About this activity

Quiz on input, output, if/elif (13+)

Created by

United Kingdom

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Python Basics: Input, Output & Conditions
 

Python Basics: Input, Output & ConditionsOnline version

Quiz on input, output, if/elif (13+)

by James Cooper
1

What function reads a line of user input in Python?

2

Which line displays a value to the screen in Python?

3

What will this print? print(2 + 3)?

4

Which statement runs when condition is True? if x > 2:

5

Which keyword starts an alternative block if the first condition is False?

6

Choose the correct use of else in a basic if-else:

7

Which snippet reads a number from user input and stores as int?

8

What does print(i) inside a loop do?

9

Which is a valid conditional for age check (13+):

10

What happens if no condition in if is True and no else?

Feedback

input() waits for the user to type and press Enter.

print() displays output in Python.

2 + 3 evaluates to 5.

if starts a conditional block when its expression is True.

elif checks another condition if the previous was False.

else executes when the if condition is False.

int() converts string input to an integer.

print outputs the current value of i during each iteration.

Use >= to include 13 as eligible.

If all conditions fail and there is no else, nothing runs.

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.