New course! Every coder should learn Generative AI!
Try a free lesson0
ages = {1: 24, "dave": 42, 3: 58} print(ages[1]) print(ages["dave"])
what will be the result 24 and 42 or Error . it results 24 and 42
1 Answer
+ 6
Why do you want error?
what will be the result 24 and 42 or Error . it results 24 and 42