Created
June 7, 2014 03:18
-
-
Save ricardosiri68/b4c6132eaec33cd02d54 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
tresMayores = [] | |
numbers = [22, 21, 8, 5, 2, 1, 20] | |
tresMayores = [] | |
for i in range(3): | |
mayor = max(numbers) | |
tresMayores += [mayor] | |
numbers.remove(mayor) | |
print(tresMayores) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment