Browse Source

Update web-search.py

Coder 4 years ago
parent
commit
2e7ecd943e
1 changed files with 5 additions and 1 deletions
  1. 5 1
      web-search.py

+ 5 - 1
web-search.py

@@ -14,7 +14,11 @@ from googlesearch import search
 import sys
 import sys
 import webbrowser
 import webbrowser
 
 
-search_query = input('What do you want to search for on the web?: ')
+width = 40
+titletxt = 'Web-Search'
+title = titletxt.center(width)
+print(title)
+search_query = input('\nWhat do you want to search for on the web?: ')
 result_num = input('How many results do you want to retrieve from the web?: ')
 result_num = input('How many results do you want to retrieve from the web?: ')
 
 
 #Verify user input
 #Verify user input