Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- s0 = input()
- h, s, t = s.rpartition(s0)
- print(h+t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement