Python print statement

S3 Exam Revision Page3

Flashcard
•

H Gillani
•
Computers
•
9th Grade
•
Hard
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
print("Hello World")
2.
FLASHCARD QUESTION
Front
Python input example
Back
x = input('Enter your name:') print('Hello, ' + x)
3.
FLASHCARD QUESTION
Front
Basic if statement
Back
a = 33
b = 200
if b > a:
print("b is greater than a")
4.
FLASHCARD QUESTION
Front
Using elif in Python
Back
a = 33
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
5.
FLASHCARD QUESTION
Front
Using else in Python
Back
a = 200
b = 33
if b > a:
print("b is greater than a")
elif a == b:
print("a and b are equal")
else:
print("a is greater than b")
6.
FLASHCARD QUESTION
Front
Nested if statement
Back
x = 41 if x > 10:
print("Above ten,") if x > 20:
print("and also above 20!")
else:
print("but not above 20.")
7.
FLASHCARD QUESTION
Front
Fixed loop example
Back
for x in range(6):
print("I love Computing Science!")
Explore all questions with a free account
Similar Resources on Quizizz
8 questions
Python

Flashcard
•
KG - 9th Grade
10 questions
Python Loops Flashcard

Flashcard
•
10th Grade
10 questions
Chủ đề 4 - Tin 8

Flashcard
•
KG
9 questions
Python Programming Basics - MP2 Study

Flashcard
•
10th Grade
10 questions
Python Data Structures

Flashcard
•
10th Grade
10 questions
Le stringhe di Python

Flashcard
•
8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
8 questions
User Input in Python

Flashcard
•
8th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
EOC Math 1 Review

Quiz
•
9th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Act 1 of Romeo and Juliet

Quiz
•
9th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade