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
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link rel="stylesheet" href="#"> | |
</head> | |
<body> | |
</body> |
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
matriz = [] | |
n = int(input("Ingrese el # de filas\n")) | |
m = int(input("Ingrese el # de columnas\n")) | |
for i in range(n): | |
matriz.append([]) | |
for j in range(m): | |
matriz[i].append(input("+")) | |
for i in range(len(matriz)): |
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
import random | |
matriz = [] | |
n = int(input("Ingrese el # de filas\n")) | |
m = int(input("Ingrese el # de columnas\n")) | |
for i in range(n): | |
matriz.append([]) | |
for j in range(m): | |
matriz[i].append(random.randint(0,100)) |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> | |
<title>{Title}</title> | |
</head> | |
<body> | |
<div id="head"> | |
<div class="title"> | |
<div class="desctiption"></div> |
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
matriz = [] | |
n = int(input("Ingrese el # de filas\n")) | |
m = int(input("Ingrese el # de columnas\n")) | |
"""for i in range(n): | |
matriz.append([]) | |
for j in range(m): | |
matriz[i].append(input("Ingrese la posicion [%d][%d]" % (i,j))) | |
""" | |
def imprimir(matriz): |
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
public class Euler { | |
public static long fact(int x) { | |
long prod = 1; | |
for (int i = 1; i < x; i++) { | |
prod = prod * i; | |
} | |
return prod; | |
} | |
public static double euler(){ |
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
#------------------------------------------------------------------------------- | |
# Name: Matrix | |
# Purpose: | |
# | |
# Author: Nicolas Figueroa | |
# | |
# Created: 06/10/2012 | |
# Copyright: (c) Nicolas Figueroa 2012 | |
#------------------------------------------------------------------------------- | |
import random |
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
class Matriz: | |
def __init__(self, columnas, filas): | |
self.filas= filas | |
self.columnas= columnas | |
print("filas: ",filas,"columnas: ",columnas) | |
def llenarMattriz(self, filas, columnas): |
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
#------------------------------------------------------------------------------- | |
# Name: Matrix | |
# Purpose: | |
# | |
# Author: Nicolas Figueroa | |
# | |
# Created: 06/10/2012 | |
# Copyright: (c) Nicolas Figueroa 2012 | |
#------------------------------------------------------------------------------- | |
import random |
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
""" | |
Realizado por: | |
Rafael Baron Castro Cod: 20102020012 | |
Nicolas Figueroa Beltran Cod: 20102020032 | |
""" | |
class Matriz: | |
#constructor y atributos de la clase Matriz | |
def __init__(self, filas, columnas): | |
self.matriz=[] |
OlderNewer