So I have list that looks like this
mylist = ['storeitem_1','storeitem_2','storeitem_3']
How would I go about getting only numbers from those strings? I tried following but it came out totally wrong.
for items in mylist:
print(items.split("storeitem_"))
Any help is appreciated