Created
January 28, 2013 23:01
-
-
Save tombrad/4660108 to your computer and use it in GitHub Desktop.
aprenda python en 3 días
This file contains 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
largest = -1 | |
print "Before", largest | |
for value in [3,41,12,9,74,15] : | |
if value > largest : | |
largest = value | |
print largest,value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment