I am trying to write a lambda where it takes the minutes and divides it by a range, then prints out the result. I tried
list((lambda minutes: minutes / range),range(Numbe+1,1))
but list only takes one argument, any ideas? Minutes and Number the user supplies
I figured it out using
List=[]
List=range(1, Number+1)
List.reverse()
print(List)
for number in List:
print ( minutes/ number)
I know that the code look very novice and would appreciate any tips to get is to look better