Solution Exercise 109: python code to create dictionary with 1 , 2 , 3, ... as keys and their sums as values
Exercise 109 Write a program in Python that asks the user to enter an integer n and return a dictionary whose keys are the integers 1, 2, 3, ... n…