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
|
2681 Discussions
|
Please Login in order to post a comment
lst=[] n=int(input())
for i in range(n): command = input().split() # "insert 10 5" ==> after split ["insert","10","5"]