Let's count

Report a typo

What will be the result of the code below?

sample = {}
sample['a'] = 3
sample['b'] = 5
print(sample['a'] + sample['b'] + sample.get('c', -2) + sample.get('a', 10))
Enter a number
___

Create a free account to access the full topic