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

How did South Carolina respond to the attempt by Britain to gain more control over its colonies? Select the correct answer below. A. Although they opposed the n
A fault is ____. (1 point) a place on Earth where earthquakes cannot occur a fracture in the Earth where movement has occurred the place on Earth’s surfac
Read the following sentence and choose which word is not correct in the context of the sentence. Las estudiante son inteligentes. a. Las b. estudiante c. inte
how do i solve the vertex of f(x)= -|x-6|?
How many moles of gas does it take to occupy 120 L at a pressure of 233 kPa and a temperature of 340 K? A. 6.4 moles B. 7.7 moles C. 8.6 moles D. 9.9 moles
In , the Communists won the civil war and the People's Republic of China was formed.
the ratio of green food coloring 1:2 if we use 6 drops of blue how many drops will we need math
Roosevelt and Taft disagreed on _________________ a. how laws should be made. b. how to pay soldiers. c. how to develop tourism in New Mexico. d. conservation i
Questions: (-3)^3 + 1 ————— (-1) - 1 20(-3)(-1) ———— 3(-3) + (-1)
Evaluate the expression for the given values of the variables -3[w-6 to the power of 2 + X]; w =5,X =6