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

Help me on this please!
Read the following quote and determine which rhetorical appeal is being used: "Since this country was founded, each generation of Americans has been summoned to
A random sample of 102 students found that 4 out of 6 students brought a lunch to school instead of eating the cafeteria food. At this rate, how many students w
Why would blacks be denied the opportunity to serve in some branches of the military? They wanted to stay on the farms and work. Many whites believed they were
Decide whether the verb in the sentence below is action or linking. Newspapers became a tradition early in our nation.
Two choices greater than 3/5
An advice column called "Dear Abby" appears in many papers every day; therefore, it is called a ? feature.
Read the paragraph. Then answer the question that follows. Perhaps you wanted pizza for dinner, but were out voted by the rest of the family who wanted chili.
Write a list of your moderate (i.e., walking quickly, dancing) and vigorous (i.e., jogging, competitive sports) physical activities during this period. Record t
What form do planes perpendicular to the z-axis have in spherical coordinates