Python Taskbook Level 1.7
Given a dictionary:
{
'a': 1,
'b': 2,
'c': 3,
'd': 4,
}
Find the sum of the elements of this dictionary.
Given a dictionary:
{
'a': 1,
'b': 2,
'c': 3,
'd': 4,
}
Find the sum of the squares of the elements of this dictionary.
Given a line:
'abcde'
Get a list of letters in this string.
Given a number:
12345
Get a list of digits of this number.
Given a number:
12345
Turn it over:
54321
Given a number:
12345
Find the sum of the digits of this number.