What does this function print?

Advertisement

What does this function print?
def print_alpha_nums(abc_list, num_list):
for char in abc_list:
for num in num_list:
print(char, num)
return
print_alpha_nums([‘a’, ‘b’, ‘c’], [1, 2, 3])

  • a 1
    a 2
    a 3
    b 1
    b 2
    b 3
    c 1
    c 2
    c 3
  • [‘a’, ‘b’, ‘c’], [1, 2, 3]
  • aaa
    bbb
    ccc
    111
    222
    333
  • a 1 2 3
    b 1 2 3
    c 1 2 3
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend