0

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

9th May 2017, 3:50 PM
Murali
Murali - avatar
1 Antwort
+ 6
Why do you want error?
9th May 2017, 3:55 PM
Meharban Singh
Meharban Singh - avatar