Likely, what you want is:
access = input('Type the key you want')
Even though the print()
function displays outputs to your terminal, it doesn’t return anything, hence why print(access)->None
1
solved How to not see “None” output when getting user input(): input(print(“Your key:”))