Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1.  
  2. def adiciona(x)
  3. {
  4. if (x > 5)
  5. k.append(x)
  6. return "inserido"
  7. else
  8. "Tem que inserir num maior que 5"
  9. }
  10.  
  11. main()
  12. {
  13. while(i<5)
  14. {
  15. numero = eval(input('Introduza um numero:'))
  16. i++
  17. }
  18. }
  19. return k
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement