up
This commit is contained in:
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)
|
||||||
Reference in New Issue
Block a user