Input : A2b34ce - - > [2,34]
Output : A34b2ce - - > [34,2]
import re inputValues= input() numbers=[int(v) for v in re.findall(r'\d+', inputValues)] print(numbers)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment