hw1: done ex1

This commit is contained in:
Claudio Maggioni 2023-03-20 12:12:57 +01:00
commit 1314359415
8 changed files with 454532 additions and 0 deletions

161
.gitignore vendored Normal file
View File

@ -0,0 +1,161 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock
# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,48 @@
zoom,name,abbreviation,ISO alpha 2,ISO alpha 3,ISO numeric,land area km,population,latitude,longitude,continent
3,Ukraine,Ukr.,UA,UKR,804,603700,45415596,49.00,32.00,eu
3,France,Fr.,FR,FRA,250,547030,64768389,46.00,2.00,eu
3,Spain,Spain,ES,ESP,724,504782,46505963,40.00,-4.00,eu
3,Sweden,Swe.,SE,SWE,752,449964,9045000,62.00,15.00,eu
3,Germany,Ger.,DE,DEU,276,357021,82369000,51.50,10.50,eu
3,Finland,Fin.,FI,FIN,246,337030,5244000,64.00,26.00,eu
3,Norway,Nor.,NO,NOR,578,324220,4907000,62.00,10.00,eu
3,Poland,Pol.,PL,POL,616,312685,38500000,52.00,20.00,eu
3,Italy,Italy,IT,ITA,380,301230,58145000,42.83,12.83,eu
3,United Kingdom,U.K.,GB,GBR,826,244820,62348447,54.90,-3.12,eu
3,Romania,Rom.,RO,ROU,642,237500,21959278,46.00,25.00,eu
3,Belarus,Bela.,BY,BLR,112,207600,9685000,53.00,28.00,eu
3,Greece,Grc.,GR,GRC,300,131940,11000000,39.00,22.00,eu
3,Bulgaria,Blg.,BG,BGR,100,110910,7148785,43.00,25.00,eu
3,Iceland,Ice.,IS,ISL,352,103000,308910,65.00,-18.00,eu
3,Portugal,Port.,PT,PRT,620,92391,10676000,39.50,-8.00,eu
3,Czech Republic,Czech Rep.,CZ,CZE,203,78866,10476000,49.75,15.00,eu
3,Denmark,Den.,DK,DNK,208,43094,5484000,56.00,10.00,eu
4,Hungary,Hung.,HU,HUN,348,93030,9930000,47.00,20.00,eu
4,Serbia,Serb.,RS,SRB,688,88361,7344847,44.82,20.46,eu
4,Austria,Aus.,AT,AUT,40,83858,8205000,47.33,13.33,eu
4,Ireland,Ire.,IE,IRL,372,70280,4622917,53.00,-8.00,eu
4,Lithuania,Lith.,LT,LTU,440,65200,3565000,56.00,24.00,eu
4,Latvia,Lat.,LV,LVA,428,64589,2217969,57.00,25.00,eu
4,Croatia,Cro.,HR,HRV,191,56542,4491000,45.17,15.50,eu
4,Bosnia and Herzegovina,Bos.,BA,BIH,70,51129,4590000,44.25,17.83,eu
4,Slovakia,Slvk.,SK,SVK,703,48845,5455000,48.67,19.50,eu
4,Estonia,Est.,EE,EST,233,45226,1291170,59.00,26.00,eu
4,Netherlands,Neth.,NL,NLD,528,41526,16645000,52.50,5.75,eu
4,Switzerland,Switz.,CH,CHE,756,41290,7581000,47.00,8.01,eu
4,Moldova,Mol.,MD,MDA,498,33843,4324000,47.00,29.00,eu
4,Belgium,Bel.,BE,BEL,56,30510,10403000,50.83,4.00,eu
4,Albania,Alb.,AL,ALB,8,28748,2986952,41.00,20.00,eu
4,Macedonia,Mac.,MK,MKD,807,25333,2061000,41.83,22.00,eu
4,Slovenia,Slvn.,SI,SVN,705,20273,2007000,46.25,15.17,eu
4,Montenegro,Mont.,ME,MNE,499,14026,666730,43.50,19.30,eu
4,Cyprus,Cyp.,CY,CYP,196,9250,1102677,35.00,33.00,asia
4,Luxembourg,Lux.,LU,LUX,442,2586,497538,49.75,6.17,eu
4,Faroe Is.,Far. Is.,FO,FRO,234,1399,48228,62.00,-7.00,eu
4,Andorra,And.,AD,AND,20,468,84000,42.50,1.50,eu
4,Malta,Malta,MT,MLT,470,316,403000,35.92,14.43,eu
4,Liechtenstein,Liech.,LI,LIE,438,160,35000,47.17,9.53,eu
4,Guernsey,Guern.,GG,GGY,831,78,65228,49.58,-2.33,eu
4,San Marino,S. Mar.,SM,SMR,674,61.2,31477,43.93,12.42,eu
4,Gibraltar,Gib.,GI,GIB,292,6.5,27884,36.13,-5.35,eu
4,Monaco,Monaco,MC,MCO,492,2,32965,43.73,7.42,eu
4,Vatican City,Vatican City,VA,VAT,336,0.4,921,41.90,12.45,eu
1 zoom name abbreviation ISO alpha 2 ISO alpha 3 ISO numeric land area km population latitude longitude continent
2 3 Ukraine Ukr. UA UKR 804 603700 45415596 49.00 32.00 eu
3 3 France Fr. FR FRA 250 547030 64768389 46.00 2.00 eu
4 3 Spain Spain ES ESP 724 504782 46505963 40.00 -4.00 eu
5 3 Sweden Swe. SE SWE 752 449964 9045000 62.00 15.00 eu
6 3 Germany Ger. DE DEU 276 357021 82369000 51.50 10.50 eu
7 3 Finland Fin. FI FIN 246 337030 5244000 64.00 26.00 eu
8 3 Norway Nor. NO NOR 578 324220 4907000 62.00 10.00 eu
9 3 Poland Pol. PL POL 616 312685 38500000 52.00 20.00 eu
10 3 Italy Italy IT ITA 380 301230 58145000 42.83 12.83 eu
11 3 United Kingdom U.K. GB GBR 826 244820 62348447 54.90 -3.12 eu
12 3 Romania Rom. RO ROU 642 237500 21959278 46.00 25.00 eu
13 3 Belarus Bela. BY BLR 112 207600 9685000 53.00 28.00 eu
14 3 Greece Grc. GR GRC 300 131940 11000000 39.00 22.00 eu
15 3 Bulgaria Blg. BG BGR 100 110910 7148785 43.00 25.00 eu
16 3 Iceland Ice. IS ISL 352 103000 308910 65.00 -18.00 eu
17 3 Portugal Port. PT PRT 620 92391 10676000 39.50 -8.00 eu
18 3 Czech Republic Czech Rep. CZ CZE 203 78866 10476000 49.75 15.00 eu
19 3 Denmark Den. DK DNK 208 43094 5484000 56.00 10.00 eu
20 4 Hungary Hung. HU HUN 348 93030 9930000 47.00 20.00 eu
21 4 Serbia Serb. RS SRB 688 88361 7344847 44.82 20.46 eu
22 4 Austria Aus. AT AUT 40 83858 8205000 47.33 13.33 eu
23 4 Ireland Ire. IE IRL 372 70280 4622917 53.00 -8.00 eu
24 4 Lithuania Lith. LT LTU 440 65200 3565000 56.00 24.00 eu
25 4 Latvia Lat. LV LVA 428 64589 2217969 57.00 25.00 eu
26 4 Croatia Cro. HR HRV 191 56542 4491000 45.17 15.50 eu
27 4 Bosnia and Herzegovina Bos. BA BIH 70 51129 4590000 44.25 17.83 eu
28 4 Slovakia Slvk. SK SVK 703 48845 5455000 48.67 19.50 eu
29 4 Estonia Est. EE EST 233 45226 1291170 59.00 26.00 eu
30 4 Netherlands Neth. NL NLD 528 41526 16645000 52.50 5.75 eu
31 4 Switzerland Switz. CH CHE 756 41290 7581000 47.00 8.01 eu
32 4 Moldova Mol. MD MDA 498 33843 4324000 47.00 29.00 eu
33 4 Belgium Bel. BE BEL 56 30510 10403000 50.83 4.00 eu
34 4 Albania Alb. AL ALB 8 28748 2986952 41.00 20.00 eu
35 4 Macedonia Mac. MK MKD 807 25333 2061000 41.83 22.00 eu
36 4 Slovenia Slvn. SI SVN 705 20273 2007000 46.25 15.17 eu
37 4 Montenegro Mont. ME MNE 499 14026 666730 43.50 19.30 eu
38 4 Cyprus Cyp. CY CYP 196 9250 1102677 35.00 33.00 asia
39 4 Luxembourg Lux. LU LUX 442 2586 497538 49.75 6.17 eu
40 4 Faroe Is. Far. Is. FO FRO 234 1399 48228 62.00 -7.00 eu
41 4 Andorra And. AD AND 20 468 84000 42.50 1.50 eu
42 4 Malta Malta MT MLT 470 316 403000 35.92 14.43 eu
43 4 Liechtenstein Liech. LI LIE 438 160 35000 47.17 9.53 eu
44 4 Guernsey Guern. GG GGY 831 78 65228 49.58 -2.33 eu
45 4 San Marino S. Mar. SM SMR 674 61.2 31477 43.93 12.42 eu
46 4 Gibraltar Gib. GI GIB 292 6.5 27884 36.13 -5.35 eu
47 4 Monaco Monaco MC MCO 492 2 32965 43.73 7.42 eu
48 4 Vatican City Vatican City VA VAT 336 0.4 921 41.90 12.45 eu

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff