Skip to content

Instantly share code, notes, and snippets.

@reeddunkle
Created May 30, 2016 23:01
Show Gist options
  • Select an option

  • Save reeddunkle/356a670470d5305f62c1931d6fa4885a to your computer and use it in GitHub Desktop.

Select an option

Save reeddunkle/356a670470d5305f62c1931d6fa4885a to your computer and use it in GitHub Desktop.
convert r, c to int()
#Leo, I found a better way. Look where I moved the int() call to:
r, c = [int(c) for c in user_input if c.isdigit()][:2]
# r = int(r)
# c = int(c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment