Skip to content

Commit 8909db5

Browse files
committed
Add type hint
1 parent 9ea0789 commit 8909db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grocery-shopping/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
items = grocery_list_repository.read()
44

55

6-
def options(option):
6+
def options(option: int):
77
if option == 1:
88
item = input("Enter the item: ")
99
global items

0 commit comments

Comments
 (0)