Skip to content

Commit 30f0cc0

Browse files
authored
Update code.py
1 parent 08f346f commit 30f0cc0

File tree

1 file changed

+2
-2
lines changed
  • .github/Automated GoogleSearch using Python

1 file changed

+2
-2
lines changed

.github/Automated GoogleSearch using Python/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def main():
5252
print("4. To print the Google search results obtained after searching.")
5353
print("5. To exit from the code execution.")
5454

55-
choice = int(input())
55+
choice = int(input(''))
5656

5757
if choice == 1:
5858
google_search_bot.set_search_count()
@@ -62,7 +62,7 @@ def main():
6262
google_search_bot.perform_search()
6363
elif choice == 4:
6464
google_search_bot.print_search_res()
65-
elif choice == 5:
65+
else choice == 5:
6666
sys.exit()
6767

6868
print("To continue with the code execution, enter 'y' or 'n':")

0 commit comments

Comments
 (0)