## A function should store the data into the dictionary ##
albums = {}
def albums(name , artist_type):
albums = {}
albums['name'] = 'Name of the artist'
albums['artist_type'] = 'creation_type'
print( '\nName :' + name.title())
print('\nArtist type: ' + artist_type.title())
albums("mike shinoda" , "rapper")
while True:
name = input("\nEnter your Name ")
if name == 'q':
break
talent = input('Enter your Talent ')
if talent == 'q':
break
albums(name , talent)
albums[name] = talent # it shows name 'talent' is not defined