We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Basic Data Types
- Lists
- Discussions
Lists
Lists
Sort by
recency
|
2784 Discussions
|
Please Login in order to post a comment
Here is my Code easy to understand:
I dont know about coding, but i have a website https://mxplyerapks.info/, and i want to use this code in my website. is that possible
if name == 'main': N = int(input()) lst=[] for i in range(N): command = input().split() match(command[0].lower()): case "insert": lst.insert(int(command[1]), int(command[2]))