General culture
Print
Operators
Syntax/Grammar
Miscellaneous
100

Which continent is the Sahara Desert located on?

Africa

100

What is the result of "print(5 + 3)"?

8.0

100

Which operator is used for exponentiation in Python?

**

100

What is the correct way to get input from the user in Python?

"input()"

100

What's the name of the Python environment we have worked?

IDLE

200

What was the main purpose of the Great Wall of China?

To keep out invaders

200

What is the result of "print(7 // 2)"?

3
200

What is the operator way to check if two values are not equal in Python?

 A) !=

200

Which of the following is a correct way to write a string in Python? 

    - A) Hello
    - B) "Hello'
    - C) "Hello"
    - D) `Hello`

C) "Hello"

200

What does the Python logo represent

two snakes

300

What kind of painting is the "Starry Night"?

Post-Impressionism

300

What does "print("apple" + "juice")" output?

applejuice

300

What will "print(10 % 4)" output?

 2

300

What symbol do you have to use to declare a variable in Python?

=

300

What is the keyword used to convert strings into numbers in Python?

int(integer)

400

Which event started World War II?

The invasion of Poland by Germany

400

 What will "print("20" + "24")" output?

2024

400

What will "print(2000///5)" output?

SyntaxError: invalid syntax

400

what is the result of the following code? 

x = 5 

y = 10 

print(x > y)

False

400

In which year was Python created?

1991

500

Which element is needed for something to burn?

Oxygen

500

What will "print(10 * 3 + 200)" output?

230.0

500

What does the // operator do in Python?

A division with integer result.

500

What function can you use to you separate lines in Python?

\n (back-slash n)

500

For which devices Python can't be used to create apps or programs?

Cellphones

M
e
n
u