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

pls someone rewrite this using persuasive language: Contrary to belief, adolescents are not drinking alcohol more than ever before, in fact, they are drinking
You are given the sample mean and the population standard deviation. Use this information to construct the​ 90% and​ 95% confidence intervals for the population
Determine the real root(s), if any,of the quadratic function shown below
suppose you are the general manager of DDC.write a press release for increasing the price of product​
What are the highest-rated Pit Boss grills, taking into account performance, durability, features, and customer satisfaction among grill enthusiasts?
By what percent will a fraction increase if it’s numerator is decreased by 10% and it’s denominator is decreased by 50%?
How much energy is absorbed when 70g of water is heated from 21°C to 68°C?
You have decided to take up carpentry and build your mother a set of shelves. However, you have not refined your skills very well and while sanding the shelves
Solve the absolute value equation. | 3|−4=10
The ratio of the present ages of Reshma and Rekha is 2:3.After how many years,the ratio of their ages will be 5:7?​