
Python If ... Else

Flashcard
•
Other
•
12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does the 'if' keyword in Python signify?
Back
Start of a conditional statement
2.
FLASHCARD QUESTION
Front
What operator is used in Python to check if two values are equal?
Back
==
3.
FLASHCARD QUESTION
Front
Which keyword is used in Python to define an alternative condition if the initial 'if' condition is not met?
Back
elif
4.
FLASHCARD QUESTION
Front
What is the output of the conditional statement if 'a = 33' and 'b = 200' and the condition is 'if b > a'?
Back
'b is greater than a'
5.
FLASHCARD QUESTION
Front
What does Python use to define the scope of a block of code?
Back
Indentation
6.
FLASHCARD QUESTION
Front
What keyword is used to reverse the result of a conditional statement in Python?
Back
not
7.
FLASHCARD QUESTION
Front
In Python, what does the 'and' keyword do?
Back
Combines two conditional statements
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Conditional Tense in Spanish Flashcard

Flashcard
•
12th Grade
6 questions
Understanding Python APIs and Requests

Flashcard
•
12th Grade
10 questions
Condicional perfecto

Flashcard
•
University
10 questions
Fundamentos de Python

Flashcard
•
University
14 questions
Functions in Python

Flashcard
•
University
9 questions
Python Programming Basics Flashcard

Flashcard
•
12th Grade
15 questions
Computer Science 1301 Final Questions

Flashcard
•
University
10 questions
Unit 4 - Variables, Conditionals, and Functions

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade