Day 1-Python Print Function

Day 1-Python Print Function

Assessment

Flashcard

Computers

Professional Development

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

5 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of the following is NOT a valid way to print "Hello" in Python? print('Hello'), print("Hello"), print('''Hello'''), print(Hello)

Back

print(Hello)

2.

FLASHCARD QUESTION

Front

What is the purpose of the # symbol in Python?

Back

It is used to write comments.

3.

FLASHCARD QUESTION

Front

What will be the output of the following code? 2 + 3

Back

5

4.

FLASHCARD QUESTION

Front

What is the output of this code? Options: This line is printed, This line is ignored
This line is printed, Syntax Error, Nothing is displayed

Back

This line is printed

5.

FLASHCARD QUESTION

Front

Which of the following statements will cause an error?
Options:
print("Hello World!")
print('''HelloWorld''')
print("2 + 3")
print("Hello')

Back

print("Hello')