Tell us what’s happening:
Hello! I’m just getting started and I can’t get past the #4 code test:
4. add_setting should convert the key to lowercase.
I thought my code was pretty straight forward and I’ve tried different iterations, but I keep getting the error message.
Your code so far
test_settings = {
'Theme':'dark','Notifications':'enabled','Volume':'high','Language':'English'
}
def add_setting(test_settings, new_setting):
key, value = new_setting
key = key.lower()
value = value.lower()
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Challenge Information:
Build a User Configuration Manager - Build a User Configuration Manager