Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def problem_2(input):
- return ''.join(('E' if c == 'S' else 'S' for c in input))
- print(problem_2('EESSSESE'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement