Python 3 List Filtering
>>> a = [1, 2, 3, 4, 5] >>> b = a >>> c = [1, 4] >>> list(filter(lambda d: d in c, b)) [1, 4] >>> list(filter(lambda d: d not in c, b)) [2, 3, 5]

seen from Singapore
seen from China
seen from United States

seen from Malaysia
seen from United Kingdom
seen from China
seen from China
seen from China
seen from Japan

seen from United Kingdom

seen from Maldives
seen from United Kingdom
seen from Germany
seen from South Korea

seen from Maldives

seen from Malaysia

seen from Malaysia
seen from Spain

seen from United States

seen from Singapore
Python 3 List Filtering
>>> a = [1, 2, 3, 4, 5] >>> b = a >>> c = [1, 4] >>> list(filter(lambda d: d in c, b)) [1, 4] >>> list(filter(lambda d: d not in c, b)) [2, 3, 5]
Installing Python3.8 on Ubuntu 18.04
sudo apt update
sudo apt install software-properties-common sudo apt update
sudo apt install python3.8 sudo nano /usr/bin/gnome-terminal Change #!/usr/bin/python3 to #!/usr/bin/python3.8
Now open a terminal and type “python3.8” Python 3.8.0 (default, Oct 28 2019, 16:14:01) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
Specialized Math with Python
Python 3.8
Credit: Python Software Foundation & Nathaniel Steven Henry Brown