Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Our platform offers a seamless experience for finding reliable answers from a network of experienced professionals. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

how would i put a min function in this code?

largest = int(input("Enter a number: "))


print("Largest: {}".format(largest))

i = 0

while i < 5:

num = int(input("Enter a number: "))

if num > largest:

largest = num

print("Largest: {}".format(largest))

i += 1