Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def function()
- n=int(input(""))
- a=int(input(""))
- b=int(input(""))
- liste = []
- comptage = []
- for k in range(n):
- valeur = int(input(""))
- liste.append(valeur)
- for p in range(len(liste)):
- comptage.append(0)
- for i in range(len(liste)):
- for o in range(a,b):
- if(liste[i] == 0):
- comptage[0] += 1
- for j in range(a,b+1):
- print("nombre de", j, " : ", comptage[j])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement