34 lines
575 B
Markdown
34 lines
575 B
Markdown
---
|
|
title: 07.11.2025 - Calendar
|
|
timestamp: 07.11.2025 - 13:40
|
|
reason: Vorlesung 2
|
|
tags:
|
|
- Calendar
|
|
- Vorlesung
|
|
feature: Templates/assets/logo.png
|
|
thumbnail: thumbnails/resized/e3f80df020cca3c2d7e2ffdc7d968e79_86cf658e.webp
|
|
---
|
|

|
|
# 07.11.2025
|
|
|
|
# Tasks
|
|
- [ ] Ablauf planen
|
|
- [ ] Beispiele planen
|
|
|
|
## Ablauf
|
|
|
|
## Beispiele
|
|
```python
|
|
import sys
|
|
def fn():
|
|
sys.stdout.flush()
|
|
return sys.stdin.readline()
|
|
|
|
num = {0: fn, 1: fn}[int(bool(sys.stdout.write("Enter a number: ")))]()
|
|
|
|
for print in {sys.stdout.write}:
|
|
print(f"Your number is: {num}\n")
|
|
```
|
|
|
|
---
|