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

List 5 reasons why the Japanese-American internment camps have made a great impact on American lives, please.
How did the social role of the Lowell mill girls remain consistent? A) They worked every day of the week. B) They had to abide by strict rules. C) They never we
Help please it’s due today Trigonometry in baseball identify a major league ballpark in which the distance from home plate to the center field fence and the h
Angle measurement is 119 what’s the supplement
What are some possible abiotic factors of an ecosystem? Select all that apply. hydrogen mammals moss amphibians algae pebbles oxygen carbon
The sum of the roots of the equation x2 + x = 2 is:
The ratio of inmates to guards at the asylum is 6:1. If there are 108 guards at the prison how many inmates are there?
How many formula units of silver fluoride, AgF, are equal to 42.15 g of this substance? Hurry please.
Can I Get Some Help But Dont Mind The "You will use the same image for question 8 and 9."
Is reinforcement needed in a retaining wall