If statements

Introduction to Python - if statements

Flashcard
•
Computers
•
1st - 6th Grade
•
Hard
Khadeeja Haji
FREE Resource
Student preview

6 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
If a condition is true, the computer does something, here's an example:
if 8 > 7:
print("Hello")
Since 8 is bigger than 7, the computer puts Hello on the screen
2.
FLASHCARD QUESTION
Front
The keyword 'Else'
Back
'Else' is used when the 'if' part is FALSE, for example:
if 5 >7:
print("Hello")
else:
print("Bye")
Since 5 is NOT bigger than 7, the computer skips the Hello part, and jumps to say Bye
3.
FLASHCARD QUESTION
Front
What does this symbol mean:
>
Back
Bigger than
4.
FLASHCARD QUESTION
Front
What does this symbol mean?
<
Back
Less than
5.
FLASHCARD QUESTION
Front
Which symbol do we use for NOT EQUAL TO?
Back
This is the symbol:
!=
6.
FLASHCARD QUESTION
Front
Which symbol do we use for EQUAL TO
Back
==
is used to check if two things are the same
Similar Resources on Quizizz
5 questions
[BR-PT] Python NEW_М1L2

Flashcard
•
KG
10 questions
OOP - Conditionals

Flashcard
•
KG
8 questions
Python

Flashcard
•
KG - 9th Grade
6 questions
Studies Weekly Economic Principles Assessment

Flashcard
•
2nd Grade
6 questions
Studies Weekly Economic Principles Assessment

Flashcard
•
2nd Grade
15 questions
More Than

Flashcard
•
KG
14 questions
Selection in Python

Flashcard
•
1st - 9th Grade
5 questions
[TUR] Python NEW_М1L2

Flashcard
•
KG
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
20 questions
Addition and Subtraction

Quiz
•
2nd Grade
7 questions
Albert Einstein

Quiz
•
3rd Grade
14 questions
The Magic School Bus: Kicks Up a Storm

Quiz
•
3rd Grade
19 questions
Antonyms and Synonyms

Quiz
•
2nd Grade
6 questions
Earth's energy budget and the greenhouse effect

Lesson
•
6th - 8th Grade
20 questions
Long and Short Vowels

Quiz
•
1st - 2nd Grade