Advertisement
muhammad_nasif

TASK_10

Apr 16th, 2021
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. def make_square(tpl):
  2.     dictionary = {}
  3.     range_0 = range(tpl[0], tpl[1] + 1)
  4.     for i in range_0:
  5.         dictionary[i] = i * i
  6.     return dictionary
  7.  
  8.  
  9. start = int(input())
  10. end = int(input())
  11. print(make_square((start, end)))
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement