Python if statement

Flashcard
•
Computers
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which character must be at the end of the line for if?
Back
:
2.
FLASHCARD QUESTION
Front
Pieces of code that only run "under certain conditions":
Back
conditional statements
3.
FLASHCARD QUESTION
Front
Which statement will check to see if a is equal to b? Options: if a == b, if a = b:, if a != b:, if a == b:
Back
if a == b:
4.
FLASHCARD QUESTION
Front
This operator means that one value is the same as the other value: ==, !=, >, <
Back
== (equal to)
5.
FLASHCARD QUESTION
Front
What is the output? Options: more than 7, more than 23, spam, 7
Back
more than 7
6.
FLASHCARD QUESTION
Front
In what situation will it display the butterfly image? Options: When i is less than 5, When i is greater than 5, When i is greater and equal to 5, Any situation
Back
When i is greater and equal to 5
7.
FLASHCARD QUESTION
Front
Else if (elif) is used in which situation?
Back
If the previous conditions were not true
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
PYTHON REVIEWER

Flashcard
•
University
15 questions
Math 4 Unit 2 Piecewise Review

Flashcard
•
11th - 12th Grade
15 questions
Python Programming Flashcard

Flashcard
•
University
15 questions
Python modules, operators and random

Flashcard
•
University
9 questions
flashcard - 7(exceptions and file handling)

Flashcard
•
12th Grade - University
12 questions
DAP UNIT 1 FLASHCARD

Flashcard
•
University
14 questions
4/24/24 Warm-up (Intro to "If") old 5/1

Flashcard
•
KG - University
15 questions
function or not a function

Flashcard
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University