Basic python code features List >>> x > [’what’, ’would’, ’you’, ’have’, ’put’, ’in’, ’my’, ’list’] >>> x[1:6] >[’would’, ’you’, ’have’, ’put’, ’in’] >>> x[1:6:2] # slice with step=2 > [’would’, ’have’, ’in’] >>> x[6:1:-2] # slice with negative step > [’my’, ’put’, ’you’] >>> x[::-1] # does what? - reverses list! > [’list’, ’my’, ’in’, ’put’, ’have’, ’you’, ’would’, ’what’] Control structuresPrintingFile Input/OutputSorting Lists [D:\term1\text processing\lecture_02_python.pdf](D:\term1\text processing\lecture_02_python.pdf).DictionariesDefining functions