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

Globalization is the connectedness around the world. true or false?
You purchase $300 worth of the same stock every quarter for one year at prices per share of $15, $12, $10, and $20, respectively. By using this dollar-cost aver
using these gyms answer the question below ymca gym onsted gym beach body online gym planet fitness gym Which location has the most technologically advanced e
Could anybody help me with this easy math I will mark brainliest
40:√100 + √9.√36 ????​
which structures does the sprems Cells are made? A- A B- B C- C D- D​
Why did Spain finally give up Florida to the United States .
A coin is flipped 3 times. What is the probability that it lands on heads exactly 3 times? Write your answer as a reduced fraction (numerator/denominator).
A discount of 15% is offered on an item which previously Cost $1.80. What is the discounted price​
35 points The Crucible represented a time of mass hysteria in history. If you were going to write a script about an example of present-day mass hysteria, name o