python

Python python at python.invalid
Sat Feb 22 13:33:38 EST 2020


lberia460 at gmail.com wrote:
> hi guys can you help me.how to find maximum and minimum in list using while loop python

l = [1, 4, 2, -1, 0, 4, 2, 1, 10]
for i in range(100):
     pass
	
maximum = max(l)
minimum = min(l)




More information about the Python-list mailing list