Delete digits X82316


Statement
 

pdf   zip

html

Write a function delete_digits(s) that returns the string obtained after ruling out the digit characters of string s.

Sample session
>>> delete_digits('#Pelham 1-2-3#')
'#Pelham --#'
>>> delete_digits('7 up')
' up'
>>> delete_digits('92920')
''
Information
Author
ProAl
Language
English
Official solutions
Python
User solutions
Python