up
This commit is contained in:
parent
a8e1967b9c
commit
79da89d6d4
10
Une_ligne_sur_deux.py
Normal file
10
Une_ligne_sur_deux.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
nbLignes = int(input())
|
||||||
|
numLigne = 0
|
||||||
|
|
||||||
|
for loop in range(nbLignes):
|
||||||
|
numLigne = numLigne + 1
|
||||||
|
ligneTexte = input()
|
||||||
|
|
||||||
|
ligneImpaires = numLigne % 2 !=0
|
||||||
|
if ligneImpaires:
|
||||||
|
print(ligneTexte)
|
Loading…
x
Reference in New Issue
Block a user