print() Python

print() Python

Assessment

Flashcard

Computers

7th Grade

Hard

Created by

VIDYA LAXMI NALLAPATI TGT ICT

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

The print statement in Python is which of the following? Options: Command to receive input from the keyboard, Command to display information, Command to assign a value, Command to check the type of a variable

Back

Command to display information

2.

FLASHCARD QUESTION

Front

If you want to display a message on the screen using the print command, what should the message be enclosed in?

Back

Quotation marks (" ")

3.

FLASHCARD QUESTION

Front

print("4+5") From the above code, what is the output?

Back

4+5

4.

FLASHCARD QUESTION

Front

print(5*4) From the above code, what is the output?

Back

20

5.

FLASHCARD QUESTION

Front

If you want to display multiple messages at the same time, which symbol should you use to connect them?

Back

,

6.

FLASHCARD QUESTION

Front

print("10","+","20") What will be the output of this code?

Back

10+20

7.

FLASHCARD QUESTION

Front

print("I have money",20+30,"baht")

Back

I have money 50 baht

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?