Skip to content

Instantly share code, notes, and snippets.

@Senix
Created May 27, 2011 06:13
Show Gist options
  • Select an option

  • Save Senix/994733 to your computer and use it in GitHub Desktop.

Select an option

Save Senix/994733 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
a, b = 0, 1
for i in (int(a, b)):
a, b = b, a + b
print i
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