def print_list(lst):
if lst:
print(lst)
else:
print('empty list')
You have already seen this function in the topic. Which value should be passed to this function to print 0?
def print_list(lst):
if lst:
print(lst)
else:
print('empty list')
You have already seen this function in the topic. Which value should be passed to this function to print 0?
Create a free account to access the full topic