Skip to content

Commit

Permalink
fix python version
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyJosh committed Sep 22, 2024
2 parents 65a8da9 + 759c535 commit ba96408
Show file tree
Hide file tree
Showing 45 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions exercises-toolbox/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.dummy
vorlage.py
FB53-Coronafallzahlen.csv
4-scipy/3-polyfit/daten.txt
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions exercises-toolbox/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ all: $(BUILDS)
@cp -r 1-python build/exercises-toolbox-1
@cp -r 2-numpy 3-matplotlib build/exercises-toolbox-2
@cp -r 4-scipy 5-uncertainties build/exercises-toolbox-3
@cp -r 6-make build/exercises-toolbox-4
@cp -r 7-git 8-all build/exercises-toolbox-5
@cp -r 6-git build/exercises-toolbox-4
@cp -r 7-make 8-all build/exercises-toolbox-5
@rm -rf build/exercises-toolbox-{1,2,3,4,5}/*/{,*/}{Makefile,.gitignore,__pycache__,*.dummy}
@cd build ; \
for day in 1 2 3 4 5 ; do \
Expand Down
6 changes: 3 additions & 3 deletions python/python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"![Python](https://www.python.org/static/community_logos/python-logo-generic.svg)\n",
"\n",
"- Aktuelle Version: Python 3.11\n",
"- Aktuelle Version: Python 3.12\n",
"- *Interpretierte* Programmiersprache\n",
" - Kein Kompilieren\n",
" - Programme werden mit dem `python`-Programm ausgeführt\n",
Expand Down Expand Up @@ -1602,7 +1602,7 @@
"U = 42\n",
"R = 7\n",
"\n",
"print(f\"Spannung U = {U}, R = {R}, I = {U / R}\")"
"print(f\"Spannung U = {U} V, R = {R} Ω, I = {U / R} A\")"
]
},
{
Expand Down Expand Up @@ -1875,7 +1875,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Allgemeiner Syntax-Fehler: ` SyntaxError`\n",
"## Allgemeiner Syntax-Fehler: `SyntaxError`\n",
"Zeile in der der Fehler auftritt: `line 6` \n",
"Grund für den Fehler: `SyntaxError: invalid syntax` \n",
"Hier sogar mit Hinweis auf das fehlerhafte/fehlende Zeichen.\n"
Expand Down

0 comments on commit ba96408

Please sign in to comment.