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

3. Irvin cut a 47 in. wire into two pieces. The longer piece is 13 in. longer than the shorter piece. What is the length of the longer piece? _________ in.Pleas
Researchers performing __________ insert a weak electric current into the brain to stimulate it. A. lesioning B. ESB C. EEG
In what way does the executive branch check the powers of the legislative branch?
how do rocks along the central valley of the mid-ocean ridge provide evidence of sea-floor spreading
how do you convert units within a measurement system
solve for x log(x–4)+log(x+3)=2logx
Two co-teachers, Daniel and Mathew, have to grade a set of math journals. Daniel grades 45% of the journals. Mathew has to grade 121 journals. How many journals
Which animal has tracheae but no lungs for respiration? A. cardinal B. grasshopper C. toad D. tuna
What is the cube root of 159?
PLEASE HELP I GIVE THANKS