0
Is there a better way of doing this?
list1 = [] #Enter the same value in the list three times together. normalG = input("Enter a normal glider: ") list1.append(normalG) list1.append(normalG) list1.append(normalG)
1 Odpowiedź
0
normalG = input("Enter a normal glider: ")
list1 = [normalG] * 3