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 value of 110 coins, consisting of dimes and quarters, is $20.30. how many of each kind of coin are there?
I have chosen 4 MYSTERY INTEGERS. At least one is positive and one is negative. Follow these clues to figure out my integers. BE SURE TO EXPLAIN YOUR REASONING
Round ​$0.6848 to the nearest cent.
The non-institutional civilian population is 250 million, of which 100 million are employed and 10 million are unemployed. based on the information above, the u
Solve this questionhhhhhhhh
melissa has 14 reports to file, if each report takes an average of 1 hour and 15 mins, how long would it take to file 70% of them?
This type of fitness is required for weight lifting and rock climbing. Strength muscular endurance Flexibility Cardiovascular fitness
If a person responds to an amusing film with more positive emotions than average, that person is likely to
what contributed to the rise of war lords in japan
Miles is 75 and he has been diagnosed with presbycusis. what can he do to help him cope with this problem