Oct-29-2018, 11:23 PM
Can anyone help me with this exercise, please? I would appreciate it!
WRITE A FUNCTION:
● That takes two arguments as its input
○ A list
○ A number
● And returns
○ True if the length of the list is greater than the number that was passed in as the second
argument
Thanks a lot in advance!!
WRITE A FUNCTION:
● That takes two arguments as its input
○ A list
○ A number
● And returns
○ True if the length of the list is greater than the number that was passed in as the second
argument
def func_11(a_list,a_number): if len(a_list) > a_number: a = True return aTHAT does not work!!
Thanks a lot in advance!!