Created
May 4, 2015 14:23
-
-
Save miltonlab/aaa9e8693a90d90d5d87 to your computer and use it in GitHub Desktop.
Operaciones con arreglos en Python
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
edades = numpy.array[(20,23,22)] | |
#lectura | |
print (edades[2]) | |
#escritura | |
edades[1] = 27 | |
#presentacion | |
for i in range(0, len(edades)): | |
print (edades[i]) | |
#aunque en python no hace falta el bucle | |
print(edades) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment