Print 0

Report a typo

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?

Select one or more options from the list

Create a free account to access the full topic