We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22a5e21 commit 8109f63Copy full SHA for 8109f63
run.py
@@ -41,13 +41,6 @@ def greetings():
41
)
42
43
44
-def get_username():
45
- """
46
- Returns the user name input.
47
48
- return input("\n>> ").strip().capitalize()
49
-
50
51
def print_menu():
52
"""
53
Prints the menu of options.
@@ -266,7 +259,7 @@ def main():
266
259
Run all program functions.
267
260
268
261
greetings()
269
- username = get_username()
262
+ username = input("\n>> ").strip().capitalize()
270
263
chatbot_message(
271
264
f"\nHi, {username}. Thank you for using our chat service. "
272
265
"\nHow may I assist you today?\n"
0 commit comments