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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!