Skip to content

Instantly share code, notes, and snippets.

@mlouielu
Created July 3, 2018 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlouielu/57aa6756c3a7242c30db6c9324d82291 to your computer and use it in GitHub Desktop.
Save mlouielu/57aa6756c3a7242c30db6c9324d82291 to your computer and use it in GitHub Desktop.
while True:
w, v = input().split(',')
if w.find('-') ^ v.find('-'):
break
print('input error')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment