Skip to content

Commit eceb1b4

Browse files
committed
Liter issues
1 parent e028ac1 commit eceb1b4

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

python-for-loop/nemu.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ def display_menu(options):
33
for pos, option in enumerate(options, start=1):
44
print(f"{pos}. {option}")
55

6+
67
display_menu(["Open", "Save", "Settings", "Quit"])

python-for-loop/nested.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
for product in range(number, number * 11, number):
33
print(f"{product:>4d}", end="")
44
print()
5-
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
numbers = [1, 2, 3]
22
letters = ["a", "b", "c"]
3+
34
for number, letter in zip(numbers, letters):
45
print(number, "->", letter)
5-

python-for-loop/repeat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
for _ in range(3):
22
print("Knock, knock, knock")
33
print("Penny!")
4-

0 commit comments

Comments
 (0)