0
Can anyone tell me how to print out numbers separately from a string.
For eg: I entered the input as "abc123" and I want the input to print 123 separately.
2 odpowiedzi
+ 4
TheWh¡teCat 🇧🇬 , i am sure you agree that giving a ready-to-use code does not help a lot in developing the coding ability of poeple. It is a good practice to give hints or may be a line of code. Thanks for your understanding!
+ 3
zeeshan , you can use isdigit method or match the digits with regex.
https://code.sololearn.com/ch0z6bjHpAAH/?ref=app