Edhesive 3.6 code practice python please
Answers
Answer:
a = int(input("Enter a number: "))
print("Largest: " + str(a))
b = int(input("Enter a number: "))
print("Largest: " + str(max(a,b)))
c = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c)))
d = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c,d)))
e = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c,d,e)))
f = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c,d,e,f)))
Explanation:
hope it helps you!
Answer:
a = int(input("Enter a number: "))
print("Largest: " + str(a))
b = int(input("Enter a number: "))
print("Largest: " + str(max(a,b)))
c = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c)))
d = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c,d)))
e = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c,d,e)))
f = int(input("Enter a number: "))
print("Largest: " + str(max(a,b,c,d,e,f)))
Explanation:
you are welcome