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

Fill the blank with with the verb estar. Can’t get this one right. Mi familia … muy contento
Please solve these questions with an explanation
How tall is the tree? 5ft 35° -20ft- [? ]ft
See photo for questions.
A bus start from rest. If the acceleration of bus is 0.5 m/s square. what will be its velocity at the end of 2 minutes?what will be the distance cover?​
Change them to Neg. and Int. forms answering the questions in short form. ( write in front of the sentence the tense ) 1- She studies 3 languages. 2- They're p
Larry wants to hold an event that covers dual special needs plans (dsnp). he will use the slide presentation provided by unitedhealthcare to explain the plan be
an article publication the school magazine suggesting there ways of improving sanitation in the school​
This is confusion please help
5 Explica hasta qué punto la lengua que una persona habla determina la manera en que ve el mundo. Proporciona ejemplos.