[ create a new paste ] login | about

Link: http://codepad.org/KTKYp9Rr    [ raw code | fork ]

Python, pasted on Nov 16:
1
2
3
4
5
import string
myStr="MYPART10"

print ''.join([c for c in myStr if (c in string.letters)])
print ''.join([c for c in myStr if (c in string.digits)])


Create a new paste based on this one


Comments: