Write a Python function that will take a the list of 100 random integers between 0 and 1000 and return the maximum value.
(Note: there is a builtin function named max but pretend you cannot use it.)
RUNSAVELOADSHOW CODELENS
"""
.comimport random
alist=[]
def listRandomFill(list):
for i in range(100):
list.append(random.randrange(0,1001))
return(list)
def max(list):
max=0
for el in list:
if max<el:
max=el
return max
print(max(listRandomFill(alist)))
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.