Skip to content

Commit 1fcc38c

Browse files
committed
Add type hint
1 parent 0f48f78 commit 1fcc38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grocery-shopping/main.py

+1-1
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)