Skip to content

Commit

Permalink
Liter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lpozo committed Dec 16, 2024
1 parent e028ac1 commit eceb1b4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions python-for-loop/nemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ def display_menu(options):
for pos, option in enumerate(options, start=1):
print(f"{pos}. {option}")


display_menu(["Open", "Save", "Settings", "Quit"])
1 change: 0 additions & 1 deletion python-for-loop/nested.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
for product in range(number, number * 11, number):
print(f"{product:>4d}", end="")
print()

2 changes: 1 addition & 1 deletion python-for-loop/parallel_iteration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numbers = [1, 2, 3]
letters = ["a", "b", "c"]

for number, letter in zip(numbers, letters):
print(number, "->", letter)

1 change: 0 additions & 1 deletion python-for-loop/repeat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
for _ in range(3):
print("Knock, knock, knock")
print("Penny!")

0 comments on commit eceb1b4

Please sign in to comment.