Urgent please tell :Repl.it db
How to add multiple values to a single key in repl.it database in python
How to view your repl.it database
# import db # multiple values db["my-val"] = ("list", "so", "cool", "right?!?", "more than one value!") for key in db: print(key, ":", key["db"], ",")
I don't think this is possible. You can assign one value to one key. But, there's nothing that prevents you from entering multiple entries into one key value, like this:
mykey = value1, value2, value3, value4
You would need to split the value string up by commas after reading it, but it could work for you depending on your specific application.