Consider the following code:

if (90 < = x <= 100)
It should be rewritten as:


if (90 < = x <= 100):

if (90 < = x and <= 100):

if (90 < = x and x <= 100):

Nothing, the if statement is correct

Respuesta :

I’m not sure which one it would be

The code statement if (90 < = x <= 100) should be rewritten as if (90 < = x and <= 100):

How to determine the new statement?

The code statement is given as:

if (90 < = x <= 100)

The above code is wrong, and it would result in a compile error.

The syntax of an if statement that has 2 conditions in Python is:

if (condition-1 logical_operator condition-2):

So, the appropriate statement is if (90 < = x and <= 100):

Hence, the code statement if (90 < = x <= 100) should be rewritten as if (90 < = x and <= 100):

Read more about Python codes at:

https://brainly.com/question/24833629

#SPJ2

ACCESS MORE