3.7 code practice edhesive
Answers
Answer:
a = float(str(input("Please, enter any number between 123 and 456: ")))
b = float(int(input("Please, enter any number between 1 and 900,000: ")))
c = float(int(input("Do not enter a word: ")))
d = float(int(input("Enter an integer: ")))
e = float(int(input("Enter one #: ")))
f = float(int(input("Enter a # between 100 and 2000: ")))
g = float(int(input("Enter the median of f: ")))
if - (a >= 123 and a <= 456):
print("Correct answer!")
else:
print("Incorrect answer.")
if - (b >1 and b < 900000):
print("Hip Hip Horray!")
else:
print("OH NO!")
if - (c == 123456789):
print("What in the world are you thinking!?")
else:
print("Good Job!")
if - (d == 512):
print("NOOOOOOO!")
else:
print("YES!")
if - (e == 2346):
print("Hello.")
else:
print("Good Bye.")
if - (f >= 100 and f <= 2000):
print("Yay! Perfect!")
else:
print("Sorry, not correct.")
if - (g == 1050):
print("Correct!")
else:
print("Not correct.")
Explanation:
This will get you a 100%