Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
lehrkraefte:sbt:informatik:glf22:python:little-programming-tasks-turtle [2023/01/27 13:37] Karlheinz Schubert |
lehrkraefte:sbt:informatik:glf22:python:little-programming-tasks-turtle [2023/01/27 13:45] (current) Karlheinz Schubert [Zeichne ein Balkendiagram] |
||
---|---|---|---|
Line 93: | Line 93: | ||
<code python> | <code python> | ||
ReadModus = ' | ReadModus = ' | ||
- | DateiInhalt | + | Datei = open('werte.csv', ReadModus) |
- | Werte = DateiInhalt.split(',' | + | DateiInhalt = Datei.readline() |
+ | TextWerte | ||
+ | Werte = list(map(int, | ||
print(Werte) | print(Werte) | ||
</ | </ |