For questions 1-3, consider the following code:



x = int(input("Enter a number: "))




if x != 7:

print("A")




if x >= 10:

print("B")




if x < 10:

print("C")




if x % 2 == 0:

print("D")


What is output if the user types in 10? Click all that apply.

Group of answer choices

A

C

D

B

Flag question: Question 2
Question 21 pts
What is output if the user types in 7? Click all that apply.
Group of answer choices

A

C

D

B

Flag question: Question 3
Question 31 pts
What is output if the user types in 12? Click all that apply.
Group of answer choices

D

A

C

B

Flag question: Question 4
Question 41 pts
The following code is intended to test if x is at least 5. Fill in the correct symbol:



Answer :

Other Questions