📑 Task
1) What two numbers will the program print?2) Replace the first five lines of the program with a single line
containing a dictionary comprehension
📑 Answer
1) 10 29The first number is the sum of the keys of the resulting dictionary
The second number is the sum of its values
2)
No comments:
Post a Comment