Advertisement
davide1409

noNum

Nov 14th, 2019
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def noNum(s):
  2. #@param s: string
  3. #@return string
  4.   new_s = ''
  5.   for c in s:
  6.     if not c.isdigit():
  7.       new_s+=c
  8.      
  9.   return new_s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement