jaylanpersaud jaylanpersaud
  • 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.

Respuesta :

Cytokine
Cytokine Cytokine
  • 03-11-2020

y = choose whatever number you want.

if 5 < y < 11:

   print("The value stored in y is between 6 and 10 inclusive")

else:

   print("The value stored in y is not between 6 and 10 inclusive.")

I hope this helps!

Answer Link

Otras preguntas

The ideas described in Group B would most likely be the beliefs of which political party? Group b. - Feared a mixed economy - were proponents of slavery - supp
when talking about binge drinking, which describes the phrase "in a row" A. within 10 minutes B. within 20 minutes C. within 30 minutes D. within 1 hour
How did the Age of Exploration in Europe contribute to the success of the Commercial Revolution? A. It reduced the power of middle class merchants, who opposed
2.4% as a fraction and simplified
which way does a column go
In which sentence does the verb agree with the subject? a. The news about the kittens fill my heart with joy. b. Mumps were once a common disease throughout th
A heterozygous tall pea plant is crossed with a short plant. The probability than an F1 plant will be tall is(1point)
African slaves were brought to the English colonies to meet the demand for a. soldiers brought about by wars with Native Americans b. Labor brought about by la
Suppose that a species of toads is introduced into a new environment in an attempt to reduce the populations of insects. The toad has no natural predators in th
How many times can 42 go into 92