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
6 questions
Studies Weekly Economic Principles Assessment

Flashcard
•
2nd Grade
6 questions
Code.org Express Course -> Lesson 17

Flashcard
•
5th - 7th Grade
10 questions
Nature of Science Review Q2

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

Flashcard
•
KG
10 questions
Google Docs

Flashcard
•
3rd - 6th Grade
10 questions
Back to School

Flashcard
•
3rd - 5th Grade
6 questions
Continents and Oceans

Flashcard
•
4th Grade
9 questions
-Er & -Est Suffix

Flashcard
•
4th - 5th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade