added images + oneliner
This commit is contained in:
@ -83,6 +83,17 @@ Das wäre korrekt, aber `:=` kam noch nicht in der Vorlesung vor
|
||||
|
||||
---
|
||||
|
||||
# One-Liner in 2.4
|
||||
|
||||
Durch umformen konnte man auch mit den bekannten mitteln eine einzige Zeile haben. Wurde aber nicht gefraget
|
||||
|
||||
```python
|
||||
print((float(input()) + 11 / 8) ** 2 - 121 / 64 + 9 / 4)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
# Blatt 02 - Vorrechnen
|
||||
|
||||
---
|
||||
@ -170,4 +181,4 @@ def find_next_prime(n: int) -> int:
|
||||
|
||||
---
|
||||
|
||||
# Blatt 03
|
||||
# Blatt 03
|
||||
|
Reference in New Issue
Block a user