Python

Installation

sudo apt install python3.10
sudo apt install python3-pip
pip install --user pipenv
python -m site --user-base
export PATH="$PATH:/pathAbove"
pipenv install
pipenv install flask

Data structures

Tuple

Cannot edit after it is created – Immutable.

thistuple = (“1”, “2”, “3”)
for x in thistuple:
  print(x)

List

thislist = [“1”, “2”, “3”]
for x in thislist:
  print(x)

Leave a comment