Informatik_3
This commit is contained in:
11
4. Theorie/Überischtsblatt.md
Normal file
11
4. Theorie/Überischtsblatt.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Neu:
|
||||
- Datentyp float (Fließkommazahl) = Kommazahlen (z.B. 1.53, 20.99)
|
||||
- Runden von Kommazahlen
|
||||
- mittels:
|
||||
- round(Bezeichner,3) (2: Nachkommastelle)
|
||||
- z.B: round(bmi,2)
|
||||
- Zählschleife:
|
||||
- for i in range(10):
|
||||
- print(i) (i: Zähler)
|
||||
- for i in range(2,5) (zählt nur von 2 bis 4):
|
||||
- print(i)
|
||||
Reference in New Issue
Block a user