3.6 awnser pls write code for me
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:
Explanation:
num1=int(input("Enter a number: "))
print("Smallest: " +str(num1))
num2=int(input("Enter a number: "))
print("Smallest: " +str(min(num1, num2)))
num3=int(input("Enter a number: "))
print("Smallest: " +str(min(num1, num2, num3)))
num4=int(input("Enter a number: "))
print("Smallest: " +str(min(num1, num2, num3, num4)))
num5=int(input("Enter a number: "))
print("Smallest: " +str(min(num1, num2, num3, num4, num5)))
num6=int(input("Enter a number: "))
print("Smallest: " +str(min(num1, num2, num3, num4, num5, num6)))