Posted By

maturanti19 on 05/22/19


Tagged

ho Pole generuj daj naruby


Versions (?)

array naruby


 / Published in: Python
 

Vytvorte pole a dajte ho naruby

  1. def p_naruby():
  2. p=[5, 10, 16, 24, 19, 34]
  3. for i in p[::-1]:
  4. print(i)
  5. p_naruby()
  6.  
  7. def eventuelne_naruby():
  8. m=[4, 67, 134, 24, 97]
  9. for x in range(len(m)):
  10. x+=1
  11. print(m[-x])
  12. eventuelne_naruby()

Report this snippet  

You need to login to post a comment.