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

Which best describes the process that the pest population has experienced due to this environmental change? genetic diversity natural selection natural resistan
Debra has 2/3 of a pound of loose green tea leaves. If she wants to keep one-half if the tea at home and the other half at work, what fraction of a pound will s
What is the solution to the system of linear equations y-x=4 and y+2x=1?
Write an expression for the calculation double 7, multiply 3 and 1, and then subtract the second number from the first number
can someone give me two equations an tell me which of the two would be steeper ?
What are the three requirements a person must satisfy in order to become a member of the ripper House of Representatives
Adrenaline is produced by which gland? Thymus Adrenal gland Pineal gland
a=h(b+c) solve for c
What is the absolute value of 2-x=12
Lea buys 6 model cars that each cost $15.She also buys 4 bottles of paint that each cost $11.How many does lea spend on model cars and paint?