86.6k views
4 votes
Edhesive 3.3 lesson practice

1 Answer

1 vote

Answer:

Consider the following code:

if (x > 5 AND x <= 10):

print(OK)

Click all the mistakes that apply:

AND should be and

The print (OK) should be print ("OK")

The blue section of the following Venn diagram could represent which of the following Boolean statements?

not

The following code will not compile. Which of the options below would allow the code to compile and run as intended?

if (x >= -10 and <= 10):

print("In range")

if (x >= -10 and x <= 10):

User Momh
by
4.9k points