1#example: removing common elements found in `a` from `b`.
2a = [1,2,3,4,5]
3b = [5,6,7,8,9]
4# desired output: [1,2,3,4]
5
6# gets each item found in `a` AND not in `b`
7print([i for i in a if i not in b])
1#string
2string = 'Hi my name is Dr.Hippo'
3#integer(whole number)
4integer = 12345
5#floating point number
6fl = 123.456
7#list
8li = [1,2,3,,'string',None]
9#boolean
10t = True
11f = False
12#none(equivalent to null or undefined in other languages)
13n = None
14#dictionary
15dictionary = {'key':'value'}
1$ pwd
2~/code/sandman
3$ tree
4.
5|- LICENSE
6|- README.md
7|- TODO.md
8|- docs
9| |-- conf.py
10| |-- generated
11| |-- index.rst
12| |-- installation.rst
13| |-- modules.rst
14| |-- quickstart.rst
15| |-- sandman.rst
16|- requirements.txt
17|- sandman
18| |-- __init__.py
19| |-- exception.py
20| |-- model.py
21| |-- sandman.py
22| |-- test
23| |-- models.py
24| |-- test_sandman.py
25|- setup.py
26