I was wondering if in python it would be possible to extract certain integers from a variable and save it as a seperate variable for later use.
for example:
str1 = "numberone=1,numbertwo=2,numberthree=3"
newnum1 = [find first integer from str1]
newnum2 = [find second integer from str1]
answer = newnum1 * newnum2
print(answer)