Advertisement
harisha

Untitled

Feb 28th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. """Funkcja wypisujaca zagniezdzone listy"""
  2.  
  3. def print_lol(the_list):
  4.     for each_item in the_list:
  5.         if isinstance(each_item, list):
  6.             print_lol(each_item)
  7.         else:
  8.             print(each_item)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement