Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python 2.7.10 (default, Jul 30 2016, 19:40:32)
- [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> lista = [ 'fisu' ]
- >>> moar = """
- ... hauki
- ... on
- ... kala"""
- >>> lista.append(moar)
- >>> lista
- ['fisu', '\nhauki\non\nkala']
- >>> for juttu in lista:
- ... print juttu
- ...
- fisu
- hauki
- on
- kala
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement