75.8k views
2 votes
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

D

A

C

B

User Simon Keep
by
3.4k points

1 Answer

6 votes

Answer:

B

Step-by-step explanation:

because 10 ranges between the x>=10

User Mez
by
3.2k points