Contact: aviboots(AT)netvision.net.il
41,395 questions
53,941 answers
573 users
s = 'y5B2Q3p6' new_s = '' for ch in s: if ch.isdigit(): new_s += new_s[-1] * (int(ch) - 1) else: new_s += ch print(new_s) ''' run: yyyyyBBQQQpppppp '''