up
This commit is contained in:
12
Résumés_de_livres.py
Normal file
12
Résumés_de_livres.py
Normal file
@@ -0,0 +1,12 @@
|
||||
nbLivres = int(input())
|
||||
longMin = int(input())
|
||||
titreLivre = [0] * nbLivres
|
||||
resumeLivre = [0] * nbLivres
|
||||
|
||||
for idLivre in range(nbLivres):
|
||||
titreLivre[idLivre] = input()
|
||||
resumeLivre[idLivre] = input()
|
||||
|
||||
for idLivre in range(nbLivres):
|
||||
if len(resumeLivre[idLivre]) <= longMin:
|
||||
print(titreLivre[idLivre])
|
||||
Reference in New Issue
Block a user