Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dic = {'1': 10, '2': 20, '3': 30}
- value1 = 25
- result = {'1': 0, '2': 5, '3': 30}
- value2 = 30
- result2 = {'1': 0, '2': 0, '3': 5}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement