Cody Bable

Generation

generate functionFri, 30 Jun 2023

return the two biggest numbers from a list

def myfunc(t): mylist = [] while t > 0: mylist.append(t) t -= 1 return mylist myfunc(5)

Questions about programming?Chat with your personal AI assistant