#join() is use to concatenate the sequence of words together into a single string.
s = "a34 r4"
out= azamkhan2334535
alpha = []
digits =[]
for i in s:
if not i.isspace():
if i.isdigit():
digits.append(i)
elif i.isalpha():
alpha.append(i)
mydigits = ''.join(digits)
myalpha=''.join(alpha)
out = myalpha + mydigits
print(out)
On this page of the site you can watch the video online String manipulation using python ,seperate digit and alphabates. with a duration of hours minute second in good quality, which was uploaded by the user Python Learner 01 January 1970, share the link with friends and acquaintances, this video has already been watched 12 times on youtube and it was liked by 1 viewers. Enjoy your viewing!