Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.47 KB

File metadata and controls

35 lines (29 loc) · 1.47 KB

img

More on data structures - map, lambda functions and Dictionaries

Intro

In this session, we will explore lambda functions, map and dictionaries

Resources

  1. More on Data structures
  2. Lamda map reduce and filter
  3. Youtube

Learning objectives

By the end of this session you should be able to explain to anyone the followin concepts without the help of Google

  • What are sets and how to use them
  • What are the most common methods of set and how to use them
  • When to use sets versus lists
  • How to iterate into a set
  • What are dictionaries and how to use them
  • When to use dictionaries versus lists or sets
  • What is a key in a dictionary
  • How to iterate over a dictionary
  • What is a lambda function
  • What are the map, reduce and filter functions

Script Requirements

  • Allowed editors: vi, vim, emacs
  • All your files will be interpreted/compiled on Ubuntu 20.04 LTS using python3 (version 3.8.5)
  • All your files should end with a new line
  • The first line of all your files should be exactly #!/usr/bin/python3
  • Your code should use the pycodestyle (version 2.8.*)
  • All your files must be executable

Quizes

Quizes