n = int(input("Entrez un nombre entier : ")) liste = [ ] for i in range(1,n+1): liste.extend([1,i]) print(liste)