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
|
2932 Discussions
|
Please Login in order to post a comment
done it using match case ot Switch statement you can call it but i have a question i was not able to change the value of cmd list like this can you guys help me with that why it cannot be done like that
cmd[1]=int(cmd[1])
if name == 'main':
N = int(input())
new_list=[]
done it using match case or Switch statement you can call it but i have a question i was not able to change the value of cmd list like this
cmd[1]=int(cmd[1])
if name == 'main': N = int(input()) new_list=[]