here is my code im trying to print out random song from the user's input choices:
import random
n = int(input("How many song?: "))
song_name = []
for x in range(int(n)):
ask_song = input("add a song: ")
sing = random.shuffle(list(ask_song))
song_name.append(ask_song)
print("here: " + str(sing))
Aucun commentaire:
Enregistrer un commentaire