s="insert 0 9"
li= s.split(' ')
var = li[0]
del li[0]
print(var)
insert
print(li)
['0', '9']
solved How to seperate numbers from strings?
s="insert 0 9"
li= s.split(' ')
var = li[0]
del li[0]
print(var)
insert
print(li)
['0', '9']
solved How to seperate numbers from strings?