Respuesta :

Answer:

Check explanation

Explanation:

1. Consider the following code:  

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

   print(OK)

Click all the mistakes that apply:

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

Since you want to print the string, or text, "OK", and also since there is no variable called OK that is defined, this option is wrong.

  • AND should be and

Boolean operators are case-sensitive, so the 'and' operator cannot be replaced with AND.

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

  • not

This is correct because everything except the Venn diagram is filled, therefore 'not' would be right.

3. 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):

Without the 'x' variable before the second condition, that is considered invalid syntax. You have to specify the variable for every condition.

mark as brainliest pls hehe

Ver imagen Аноним
RELAXING NOICE
Relax