Please help me if you can. Thank you.
"""Returns the artist and album name."""
artist_and_album = {'artist': artist_name,
'album title': album_title,
'number of songs': num_of_songs}
if num_of_songs:
artist_and_album['number of songs'] = num_of_songs
return (artist_and_album)
while True:
print("Please type an artist name, album title, "
"as well as number of songs.")
print("Type 'quit' to stop. ")
art_name = input("Artist: ")
if art_name == 'quit':
break
al_name = input("Album Title: ")
if al_name == 'quit':
break
num_name = input("Number of Songs: ")
if num_name == 'quit':
break
info = make_info(art_name, al_name, num_name)
print(f"\nArtist: {info[art_name]}"
f"\n Album: {info[al_name]}"
f"\n Number of Songs: {info[num_name]}")