How to extract integers from a string separated by spaces in Python 2.7?

后端 未结 4 2137
南笙
南笙 2021-01-05 16:25

I want to extract integers from a string in which integers are separated by blank spaces i.e \' \'. How could I do that ??

Input

I=\'1 15 163 132\'
<         


        
4条回答
提交回复
热议问题