unknown152714 unknown152714
  • 03-11-2020
  • Computers and Technology
contestada

write an if statement to Test if a number stored in y is between 6 and 10 inclusive. only an if statement.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

y = whatever value you want

if 5 < y < 11:

   print("Your number is between 6 and 10")

Answer Link

Otras preguntas

Select the equation of the line that passes through the point (5, 7) and is perpendicular to the line x = 4. y = 4 x = 5 y = 7 x = 7
an accurate relationship between these English and American political doctrines in terms of structure and purpose?
Once I have entered text into a presentation, how do I modify the font style of the text? Select the text and use options available on the Format Text tab. Fon
how is the telegraph you made like the one morse made?
which of the following statements regarding what happened after the Korean war is True?    A. Nationalist China obtained control of Korea. B. Communist inf
How is it possible to have thousands of different proteins when there are only 20 different amino acids
In an effort to preserve its biodiversity, this nation has protected the largest land area in the region. Costa Rica Ecuador Jamaica Uruguay
0.0417 in scientific notation
All of the following is true about the Whiskey Rebellion EXCEPT * A. resulted in a widespread loss of life B. was sparked by an excise tax on whiskey C.
Because it could not govern effectively after the reign of terror, the directory had to?