Created
December 15, 2015 10:13
-
-
Save gsora/8f89e5e05bd60972e428 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class lista: | |
| listafica = [] | |
| def app(self, k): | |
| self.listafica.append(k) | |
| def rLista(self): | |
| return self.listafica |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import lista | |
| omg = lista.lista() | |
| omg.app("omg") | |
| print(omg.rLista()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment