# DS051023 ( Dictionary practice problem)

Write a program to make a dictionary where keys will be numbers from 1 to n, and values will be cube of those numbers. Here value of n will be given by the user

‘’’
Input : n = 5
Output : {
1 : 1,
2 : 8,
3 : 27,
4 : 64,
5 :125
}
‘’’

n = 5

numbers = {}

for i in range(1, n+1):

numbers[i] = i *i * i

print(numbers)