Skip to main content
2 of 2
added 5 characters in body
acrolith
  • 4k
  • 1
  • 24
  • 41

Python 3, 57 bytes

print(''.join(['0' if i=='1' else '1' for i in input()]))