Advertisement
mavridaki

Project 2

Dec 4th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. def problem_2(input):
  2.     return ''.join(('E' if c == 'S' else 'S' for c in input))
  3. print(problem_2('EESSSESE'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement