Demo entry 6340764

Python

   

Submitted by sri on Dec 28, 2016 at 18:42
Language: Python. Code size: 87 Bytes.

just_digits = ''.join((n for n in '+123-456-7890' if n.isdigit()))
print just_digits

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).