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

Complete a cross between two organisms with the genotype TtYy. List all genotypes. How many phenotypes will be produced? What is the probability of producing a
Perhaps the broadest most integrative approach in psychology is the _____ perspective
Melanie is looking for a loan. She is willing to pay no more than an effective rate of 9.955% annually. Which, if any, of the following loans meet Melanie’s cri
Give an example of a supposedly “free” item that you see every day. Explain why the item is not really free by stating who or what actually pays for it.
A lightbulb becoming lit is an example of this
Simplify The Expression3(a + 6)+ 4a6x + 4y + 6x9(5x)
Plz help me answer this question
Which deserts are located in Chile and Argentina?
how do you divide 7.6 into 34.2
What is the function of a verbal? Question 1 options: A) To act as a verb B) it has no function C) To act as another part of speech D) To act the way we