Question: Make a function times_ten(beginning: int, end: int), which makes and returns a new dictionary. In this dictionary the keys are between beginning...end. The value of
Make a function times_ten(beginning: int, end: int), which makes and returns a new dictionary. In this dictionary the keys are between beginning...end.
The value of each key is key times ten.
For example:
d = times_ten(3, 6) print(d)
For example
{3: 30, 4: 40, 5: 50, 6: 60}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
