Write the regular expression that will match all non-digit characters of a string. Use the character class \D in your expression.
txt = "242Innokodakademija2345can3443be3254324addictive!"
pattern = "yourregularexpressionhere"
" ".join(re.findall(pattern, txt)) ➞ "Innokodakademija can be addictive!"
You don't need to write a function, just the pattern.
Do not remove import re from the code.
You can find all the challenges of this series in my Basic RegEx collection.