there are lines:
n = 'babab' m = 'metot' new_str = 'MeToT' result: new_str = 'MeToT'
that is, if the letter 'b' in the first line, in the same place in line m letter should increase the register.
new_str = (m[0].upper() + m[1] + m[2].upper() + m[3] + m[4].upper()) - this is not appropriate, since the places 'b' depend on the text entered by the user.