Advertisement
Jorell_Ramos_Sinaga

Untitled

Dec 18th, 2021
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. qte = int(input())
  2.  
  3. sim = 0
  4. nao = 0
  5.  
  6. for i in range(qte):
  7. valor = int(input())
  8. if(valor >= 10 and valor <= 20):
  9. sim += 1
  10. else:
  11. nao += 1
  12.  
  13. print("%d in" %sim)
  14. print("%d out" %nao)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement