3.6 edhesive anwer writecode
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:
Answer:
largest = -100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
for i in range(0,1):
b = int(input("Enter a number: "))
if b > largest:
largest = b
print("Largest: ",largest)
for i in range(0,1):
b = int(input("Enter a number: "))
if b > largest:
largest = b
print("Largest: ",largest)
for i in range(0,1):
b = int(input("Enter a number: "))
if b > largest:
largest = b
print("Largest: ",largest)
for i in range(0,1):
b = int(input("Enter a number: "))
if b > largest:
largest = b
print("Largest: ",largest)
for i in range(0,1):
b = int(input("Enter a number: "))
if b > largest:
largest = b
print("Largest: ",largest)
for i in range(0,1):
b = int(input("Enter a number: "))
if b > largest:
largest = b
print("Largest: ",largest)
Explanation:
Alabama