Quiz Catalog

Catalog of quizzes

list_of_tuple = [('bob', 35, 'mgr'), ('sue', 40, 'dev')]

data = list(map((lambda row: row[2]), list_of_tuple))

print(data)
['mgr', 'dev']
  • build-in/map
  • build-in/list
  • list/literal
  • tuple/literal
  • lambda