import random
import time
playlist=["a","b","c","d","e"]
played_songs=[]
while True:
song=random.choice(playlist)
if song not in played_songs:
print(song,end="")
for i in range(3):
time.sleep(0.25)
print(".",end="")
print()
played_songs+=song
elif len(playlist)==len(played_songs):
break
aW1wb3J0IHJhbmRvbQppbXBvcnQgdGltZQoKcGxheWxpc3Q9WyJhIiwiYiIsImMiLCJkIiwiZSJdCnBsYXllZF9zb25ncz1bXQoKd2hpbGUgVHJ1ZToKICAgIHNvbmc9cmFuZG9tLmNob2ljZShwbGF5bGlzdCkKICAgIAogICAgaWYgc29uZyBub3QgaW4gcGxheWVkX3NvbmdzOgogICAgICAgIHByaW50KHNvbmcsZW5kPSIiKQogICAgICAgIGZvciBpIGluIHJhbmdlKDMpOgogICAgICAgICAgICB0aW1lLnNsZWVwKDAuMjUpCiAgICAgICAgICAgIHByaW50KCIuIixlbmQ9IiIpCiAgICAgICAgcHJpbnQoKQogICAgICAgIHBsYXllZF9zb25ncys9c29uZwogICAgCiAgICBlbGlmIGxlbihwbGF5bGlzdCk9PWxlbihwbGF5ZWRfc29uZ3MpOgogICAgICAgIGJyZWFrCiAgICAg