Created
May 27, 2011 06:13
-
-
Save Senix/994733 to your computer and use it in GitHub Desktop.
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
| #!/usr/bin/python | |
| a, b = 0, 1 | |
| for i in (int(a, b)): | |
| a, b = b, a + b | |
| print i |
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
| for i in (int(a, b)): | |
| TypeError: int() can't convert non-string with explicit base |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment