When I enter
username = str(input("Username:"))
password = str(input("Password:"))
and after running the program, I fill in the input with my name and hit enter
username = sarang
I get the error
NameError: name 'sarang' is not defined
I have tried
username = '"{}"'.format(input("Username:"))
and
password = '"{}"'.format(input("Password:"))
but I end up getting the same error.
How do I convert the input into a string and fix the error?