I am trying to create a dictionary based on a variable. I want to name the dictionary based on the value of the variable. What ends up happening is that the dictionary is called username (the name of the variable) instead of the value of the variable. Does anyone know how to do this?
This is the code:
username = input("username:")
username = {}