IDNLearn.com provides a platform for sharing and gaining valuable knowledge. Get comprehensive and trustworthy answers to all your questions from our knowledgeable community members.
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
Sagot :
Your engagement is important to us. Keep sharing your knowledge and experiences. Let's create a learning environment that is both enjoyable and beneficial. Your questions find answers at IDNLearn.com. Thanks for visiting, and come back for more accurate and reliable solutions.