Created
May 30, 2016 23:01
-
-
Save reeddunkle/356a670470d5305f62c1931d6fa4885a to your computer and use it in GitHub Desktop.
convert r, c to int()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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