CR7CR7

Mutant

Sep 18th, 2022
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. str1 = input()
  2. str2 = input()
  3. m_str = ''
  4. for i in range(len(str1)):
  5.     f_string = str1[i+1:]
  6.     m_str = str2[:i+1]+f_string
  7.     if str1[i] != str2[i]:
  8.         print(m_str)
Add Comment
Please, Sign In to add comment