Object Oriented Python

from blog the website of jyn, | ↗ original
Intro Python is a strange language. You can do a lot with it, up to and including shooting your own foot off. Python allows array splicing >>> l = [1, 2, 3, 4, 5] >>> l[:2] [1, 2] >>> l[2:] [3, 4, 5] >>> l[::2] [1, 3, 5] appending lists with the '+' operator >>> [1, 2, 3] + [4, 5, 6] [1, 2, 3, 4, 5, 6] using the first string of a progam as...