print()
does not return a value. Because of this username
is being set to None
.
input()
will print the string it is passed and return the entered text. You just want the following:
username = input("Now, before we begin, I'd like to know your name (for recording purposes): ")