i = 0
lst = ([])
while i < 6:
lst.append(int(input("Enter a number: ")))
print("Largest: "+str(max(lst)))
i+= 1
This works for me. Best of luck.
5.6m questions
7.3m answers