This commit is contained in:
englingvi103466 committed 2026-11-05 13:33:46 +01:00
1 parent 9252eb99e3
commit ab28089063
5 files changed
+140

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
def odd(limit):
current = 1
while current <= limit:
yield current
current += 2
# Testen
print(list(odd(10))) # Ausgabe: [1, 3, 5, 7, 9]