Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 


Language: Layout:
+ ] Show input
Absolute running time: 0.27 sec, cpu time: 0.06 sec, memory peak: 8 Mb, absolute service time: 0,34 sec 
edit mode |  history  | discussion
Multidimensional list:
[['Python', 'list', 'example'], ['March', 15, 2022], ['Tuesday', 'Noon']]
Normal list:
['P', 'Y', 'T', 'H', 'O', 'N', 'E', 'X', 'A', 'M', 'P', 'L', 'E']
Accessing element of multidimensional list:

Accessing 2nd last element of multidimensional list:

List after removing O:

['P', 'Y', 'T', 'H', 'N', 'E', 'X', 'A', 'M', 'P', 'L', 'E']
List after removing a range:

['Y', 'T', 'H', 'N', 'E', 'X', 'A', 'M', 'P', 'L', 'E']
After appending the new list:

['Y', 'T', 'H', 'N', 'E', 'X', 'A', 'M', 'P', 'L', 'E', ['M', 'A', 'R', 'C', 'H']]
After inserting 1 and 5:

['Y', 'T', 'H', 'N', 'E', 'X', 'A', 'M', 'P', 'L', 'E', ['M', 'A', 'R', 'C', 'H'], 1, 5]
After extend operation:

[['Python', 'list', 'example'], ['March', 15, 2022], ['Tuesday', 'Noon'], ['Regular', 'Practice'], 'Done']
Change item:
['Y', 'T', 'H', 'N', '*', '*', '*', 'A', 'M', 'P', 'L', 'E', ['M', 'A', 'R', 'C', 'H'], 1, 5]
Slicing example
from beginning to end :
['Y', 'T', 'H', 'N', '*', '*', '*', 'A', 'M', 'P', 'L', 'E', ['M', 'A', 'R', 'C', 'H'], 1, 5]
Slicing example list in reverse:
[5, 1, ['M', 'A', 'R', 'C', 'H'], 'E', 'L', 'P', 'M', 'A', '*', '*', '*', 'N', 'H', 'T', 'Y']
Slicing example list in a range: 
['N', '*', '*', '*', 'A', 'M', 'P']
Concatenation and repeat:
['Y', 'T', 'H', 'N', '*', '*', '*', 'A', 'M', 'P', 'L', 'E', ['M', 'A', 'R', 'C', 'H'], 1, 5, 'Thank', ' you']
Hurray Hurray Hurray