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
| class Nodo: | |
| def __init__(self): | |
| self.dato=None | |
| self.izq=None | |
| self.der=None | |
| def insertar(self,valor): | |
| if self.dato is None: | |
| self.dato=valor | |
| self.izq=Nodo() | |
| self.der=Nodo() |
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
| class Nodo: | |
| def __init__(self): | |
| self.dato=None | |
| self.izq=None | |
| self.der=None | |
| def insertar(self,valor): | |
| if self.dato is None: |
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
| class Nodo: | |
| def __init__(self): | |
| self.dato=None | |
| self.izq=None | |
| self.der=None | |
| def insertar(self,valor):#METODO POR QUE ES UNA FUNCION DENTRO DE UNA CLASE QUE UTILISA ATRIBUTOS Y METODOS | |
| if self.dato is None:#CASO BASE | |
| self.dato=valor |
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
| #include <iostream> | |
| #include<SDL2/SDL.h> | |
| int main(int argc, char *argv[]) { | |
| SDL_Window *window= nullptr; | |
| SDL_Surface *screen; | |
| if(SDL_Init(SDL_INIT_VIDEO)<0){ | |
| std::cout<< "Todo mal\n"; | |
| return 1; |
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
| #include <stdio.h> | |
| Int main(){ | |
| Int A,B,C=0; | |
| Int Mayor=0; | |
| //Int B=0; | |
| printf("Ingrese el valor de la variable A: \n") | |
| scanf(&A); | |
| getchar(); |
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
| def comparar3(): | |
| A=input("Ingrese el numero A: ") | |
| B=input("Ingrese el numero B: ") | |
| C=input("Ingrese el numero C: ") | |
| if (A>B): | |
| Mayor=A | |
| else: | |
| Mayor=B | |
| if(Mayor>C): | |
| Mayor=Mayor |
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
| <!DOCTYPE html> | |
| <html> | |
| <meta charset="utf-8"> | |
| <head>Mi primer página web | |
| <title>Página principal</title> | |
| </head> | |
| <body> | |
| <p> Esta es mi primer página web <br> | |
| <i>Esto tiene otro estilo </i> | |
| </p> |
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
| using System; | |
| //Esto es un comentario | |
| //System; | |
| public class Program | |
| //siempre debe de ir una clase porque es poo. | |
| { | |
| public static void Main() | |
| { | |
| //Declaramos nuestras dos variables | |
| //siempre deben llevar identificador -> float. |
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
| <!DOCTYPE html> | |
| <!-- se utiliza el lenguaje español por convencion y utf-8 como estandar --> | |
| <html lan="es"> | |
| <meta charset = "UTF-8"> | |
| <head> | |
| <title>Mi primer proyecto </title> | |
| </head> | |
| <body> | |
| <h1>Hola Mundo </h1> |
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
| <html> | |
| <head> | |
| <title> | |
| Aplicacion de Fotos. "PhotoAPP" | |
| </title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> | |
| </head> | |
| <body> | |
| <ul> |
OlderNewer