Skip to content

Commit 2fe2dfd

Browse files
2 parents 302de81 + 48da100 commit 2fe2dfd

File tree

101 files changed

+10146
-992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+10146
-992
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
2828
## Corrección y próximo ejercicio
2929

30-
> #### Lunes 20 de mayo de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31-
> #### Consulta el **[horario](https://discord.gg/QhTwYW7P?event=1237107397391024128)** por país y crea un **[recordatorio](https://discord.gg/QhTwYW7P?event=1237107397391024128)**
30+
> #### Lunes 27 de mayo de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31+
> #### Consulta el **[horario](https://discord.gg/9Nxvfsfp?event=1239679210918903858)** por país y crea un **[recordatorio](https://discord.gg/9Nxvfsfp?event=1239679210918903858)**
3232
3333
## Roadmap
3434

@@ -53,8 +53,9 @@
5353
|16|[EXPRESIONES REGULARES](./Roadmap/16%20-%20EXPRESIONES%20REGULARES/ejercicio.md)|[📝](./Roadmap/16%20-%20EXPRESIONES%20REGULARES/python/mouredev.py)|[▶️](https://youtu.be/0L7IfEF19ow)|[👥](./Roadmap/16%20-%20EXPRESIONES%20REGULARES/)
5454
|17|[ITERACIONES](./Roadmap/17%20-%20ITERACIONES/ejercicio.md)|[📝](./Roadmap/17%20-%20ITERACIONES/python/mouredev.py)|[▶️](https://youtu.be/X1ROaPH_ci8)|[👥](./Roadmap/17%20-%20ITERACIONES/)
5555
|18|[CONJUNTOS](./Roadmap/18%20-%20CONJUNTOS/ejercicio.md)|[📝](./Roadmap/18%20-%20CONJUNTOS/python/mouredev.py)|[▶️](https://youtu.be/0auuM4GROVA)|[👥](./Roadmap/18%20-%20CONJUNTOS/)
56-
|19|[ENUMERACIONES](./Roadmap/19%20-%20ENUMERACIONES/ejercicio.md)|[📝](./Roadmap/19%20-%20ENUMERACIONES/python/mouredev.py)|[▶️](Corrección Roadmap 18 en vídeo)|[👥](./Roadmap/19%20-%20ENUMERACIONES/)
57-
|20|[PETICIONES HTTP](./Roadmap/20%20-%20PETICIONES%20HTTP/ejercicio.md)|[🗓️ 20/05/24](https://discord.gg/QhTwYW7P?event=1237107397391024128)||[👥](./Roadmap/20%20-%20PETICIONES%20HTTP/)
56+
|19|[ENUMERACIONES](./Roadmap/19%20-%20ENUMERACIONES/ejercicio.md)|[📝](./Roadmap/19%20-%20ENUMERACIONES/python/mouredev.py)|[▶️](https://youtu.be/0auuM4GROVA)|[👥](./Roadmap/19%20-%20ENUMERACIONES/)
57+
|20|[PETICIONES HTTP](./Roadmap/20%20-%20PETICIONES%20HTTP/ejercicio.md)|[📝](./Roadmap/20%20-%20PETICIONES%20HTTP/python/mouredev.py)|[▶️](https://youtu.be/-pYMoPYSkgM)|[👥](./Roadmap/20%20-%20PETICIONES%20HTTP/)
58+
|21|[CALLBACKS](./Roadmap/21%20-%20CALLBACKS/ejercicio.md)|[🗓️ 27/05/24](https://discord.gg/9Nxvfsfp?event=1239679210918903858)||[👥](./Roadmap/21%20-%20CALLBACKS/)
5859

5960
## Instrucciones
6061

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
using System;
2+
3+
// Comentario con la URL del sitio web oficial de C#: https://docs.microsoft.com/es-es/dotnet/csharp/
4+
5+
class Program
6+
{
7+
static void Main(string[] args)
8+
{
9+
// Comentario de una línea
10+
11+
/* Comentario
12+
de
13+
varias
14+
líneas */
15+
16+
// Crear una variable y una constante
17+
int variable = 10;
18+
const double PI = 3.14159;
19+
20+
// Variables de diferentes tipos de datos primitivos
21+
string cadena = "Hola mundo";
22+
int entero = 42;
23+
double doble = 3.14;
24+
bool booleano = true;
25+
bool booleano = false;
26+
27+
28+
// Imprimir por terminal
29+
Console.WriteLine("¡Hola, C#!");
30+
}
31+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
using System;
2+
3+
namespace RetosDeProgramacion
4+
{
5+
//URL oficial de C#: https://learn.microsoft.com/es-es/collections/yz26f8y64n7k07
6+
//comentario de una sola linea
7+
/*
8+
* comentario de multiples lineas
9+
*/
10+
11+
internal class Program
12+
{
13+
//creando variable global
14+
15+
int edad = 30;
16+
17+
//Creando variable tipo constante
18+
19+
const int numero = 1;
20+
static void Main(string[] args)
21+
{
22+
byte myByte = 100;
23+
Console.WriteLine($"esto es un byte {myByte}");
24+
sbyte myByte2 = -10;
25+
Console.WriteLine($"esto es un sbyte {myByte2}");
26+
short myShort = 20000;
27+
Console.WriteLine($"esto es un short {myShort}");
28+
ushort myUShort = 60000;
29+
Console.WriteLine($"esto es un Ushort {myUShort}");
30+
int myInt = -2000000000;
31+
Console.WriteLine($"esto es un Int {myInt}");
32+
uint myUint = 2000000000;
33+
Console.WriteLine($"esto es un Uint {myUint}");
34+
long myLong = -1000000000000000000;
35+
Console.WriteLine($"esto es un Long {myLong}");
36+
ulong myULong = 1000000000000000000;
37+
Console.WriteLine($"esto es un ULong {myULong}");
38+
float myFloat = 1.3f;
39+
Console.WriteLine($"esto es un float {myFloat}");
40+
double myDouble = 10.2;
41+
Console.WriteLine($"esto es un double {myDouble}");
42+
String myString = "Ejemplo de String";
43+
Console.WriteLine($"esto es un String {myString}");
44+
bool myBool = false;
45+
Console.WriteLine($"esto es un boolean {myBool}");
46+
47+
Console.WriteLine("Hola, C#!");
48+
Console.ReadKey();
49+
}
50+
}
51+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
public class DovinHoyos {
2+
3+
public static void main(String[] args){
4+
5+
// https://www.java.com/es
6+
7+
//Esto es un comentario en linea
8+
9+
/*
10+
este es un comentario
11+
en varias lineas
12+
*/
13+
14+
var miVariable = "Hola";
15+
final String MI_CONSTANTE = "Java!";
16+
17+
//tipos de datos primitivos
18+
byte numByte = 127;
19+
short numShort = 32767;
20+
int numInt = 2147483647;
21+
long numLong = 9223372036854775807L;
22+
23+
double numDouble = 1.7976931348623157E308;
24+
float numFloat = 3.4028235E38F;
25+
26+
char caracter = '@';
27+
28+
boolean bool = true;
29+
30+
System.out.println(miVariable+", "+MI_CONSTANTE);
31+
32+
33+
34+
35+
36+
37+
38+
}
39+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
public class Ejercicio00 {
2+
public static void main(String[] args) {
3+
// Url del sitio web oficial del lenguaje Java: https://www.java.com/
4+
5+
// Comentarios en una sola linea en java
6+
/* Este es un comentarios de varias lienas en java se puede usar para explicar detalladamente o explicar cosas largas
7+
*/
8+
9+
// Crear una variable y una constante.java
10+
int edad = 27; // Variable entera
11+
final double PI = 3.14159; // Constante de tipo double
12+
13+
// Crear variables representando todos los tipos de datos primitivos en Java
14+
String nombre = "Luis Eduardo"; // Cadena de texto
15+
int numeroEntero = 100; // Entero
16+
double numeroDecimal = 99.99; // Decimal
17+
boolean esProgramador = true; // Booleano
18+
char inicial = 'L'; // Carácter
19+
long numeroGrande = 1000000L; // Entero largo
20+
float numeroFlotante = 10.5f; // Decimal flotante
21+
byte numeroPequeno = 127; // Entero pequeño (byte)
22+
short numeroCorto = 32767; // Entero corto
23+
24+
//Imprimir por terminal el texto "Hola y el lenguaje"
25+
System.out.println("Hola soy luis eduardo y estoy aprendiendo Java");
26+
}
27+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// https://kotlinlang.org/
2+
3+
// Comentario en una sola linea
4+
/* Comentario en
5+
* multiples lineas
6+
*/
7+
8+
// val -> variable de solo lectura, no puede cambiar de valor
9+
// var -> variable mutable, que puede cambiar de valor
10+
val x = 5
11+
var y = 8
12+
13+
// Los datos primitivos/básicos son
14+
//
15+
// Enteros -> Byte, Short, Int, Long
16+
// Enteros sin signo -> UByte, UShort, UInt, ULong
17+
// Números con decimal -> Float, Double
18+
// Booleanos -> Boolean
19+
// Caracteres -> Char
20+
// Cadenas de texto -> String
21+
22+
val entero: Int = 843
23+
val text = "Hola comunidad"
24+
val decimal: Double = 3.141592
25+
val largeNumber: Long = 48_365_102_000
26+
val aprendiendo = true
27+
28+
fun main() {
29+
print("¡Hola, Kotlin!")
30+
}
31+
32+
// NOTAS FINALES
33+
//
34+
// 1) Se recomienda utilizar var solamente cuando sea necesario.
35+
// 2) Los tipos de dato pueden ser inferidos al momento de la asignación o definirse después
36+
// del nombre de la variable con : (dos puntos) y el tipo de dato.
37+
// 3) Para los números se pueden colocar _ (guion bajo) para mejorar la lectura
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// armm77 ver. 0.1
2+
3+
// - Crea un comentario en el código y coloca la URL del sitio web oficial del
4+
// lenguaje de programación que has seleccionado.
5+
6+
// Documentacion oficial Apple
7+
// https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html
8+
9+
// Documentacion Alternativa GNUStep
10+
// https://gnustep.github.io/developers/documentation.html
11+
12+
// - Representa las diferentes sintaxis que existen de crear comentarios
13+
// en el lenguaje (en una línea, varias...).
14+
15+
// 1. Comentario de una sola linea, se utiliza.
16+
/*
17+
2. Comentario de varias lineas,
18+
seccion de codigo o documentacion.
19+
*/
20+
21+
// - Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
22+
23+
#import <Foundation/Foundation.h>
24+
25+
int main(int argc, const char * argv[]) {
26+
27+
// - Crea una variable (y una constante si el lenguaje lo soporta).
28+
int weight = 0; // Variable
29+
const int LENGTH = 10; // Constante
30+
const char NEWLINE = '\n'; // Constante
31+
const float PI = 3.1415926535; // Constante
32+
const double WIDTH = 47.120577; // Constante
33+
34+
/*
35+
- Crea variables representando todos los tipos de datos primitivos
36+
del lenguaje (cadenas de texto, enteros, booleanos...).
37+
38+
Al ser Objective-C una variantes del lenguaje C con clases al estilo de
39+
Smalltalk, hereda los tipos de datos del mismo C.
40+
*/
41+
int i = 1; // valor entero
42+
char c = 'c'; // valor caracter
43+
float f = 1.11111111; // valor decimal
44+
double d = 12.2222222; // valor decimal
45+
BOOL Y = YES; // valor boleano
46+
BOOL N = NO; // valor boleano
47+
48+
@autoreleasepool {
49+
NSLog(@"Hola, Mundo!");
50+
NSLog(@"Variable: %d", weight);
51+
NSLog(@"Valores costantes: %d, %f, %f",LENGTH,PI,WIDTH);
52+
NSLog(@"Salto de linea %c",NEWLINE);
53+
printf("Valor entero: %d \n", i);
54+
printf("Valor caracter: %c \n", c);
55+
printf("Valor decimal: %f \n", f);
56+
printf("Valor decimal: %f \n", d);
57+
NSLog(@"Valor boleano: %d", Y);
58+
NSLog(@"Valor boleano: %d", N);
59+
}
60+
return 0;
61+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# https://python.org
2+
# se utiliza númeral para comentar una sola línea
3+
""" se utiliza 3 comillas (pueden ser simples o dobles) para
4+
comentar varias líneas"""
5+
6+
#Declaración de variable
7+
minombre = 'Sara'
8+
"""Declaración de constante (las constantes no existen en python pero podemos
9+
utilizar una variable y nombrarla en mayúscula para identificar que no se cambia"""
10+
MESES_DEL_ANNE = 12
11+
12+
#variables que representan cada tipo de dato primitivo
13+
tipostring = 'texto'
14+
tipoint = 10
15+
tipofloat = 1.5
16+
tipobool = True
17+
18+
#imprimir Hola Python
19+
print ('Hola, python')
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#Este es el sitio oficial del programa#
2+
#https://www.python.org/
3+
#La sintaxis para crear un comentario es con el simbolo de numeral (#)
4+
'''
5+
O se pueden crear comentarios
6+
multinlinea con tres comillas al inci
7+
y al final del comentario
8+
'''
9+
10+
this_is_a_variable = 1
11+
there_is_no_constants_in_python = 2
12+
this_is_a_string = "Hello World"
13+
this_is_a_number = 3
14+
this_is_also_a_number = 3.14
15+
this_is_a_boolean = True
16+
this_is_a_list = [1, 2, 3, "Paco", True, ["Perro, Gato, Pajaro"]]
17+
this_is_also_a_list = list([1,2,3,4,5,6,7,8,9,10])
18+
this_is_a_tuple = (1, 2, 3, 4, 5)
19+
this_is_also_a_tuple = tuple((1, 2, 3, 4, 5))
20+
this_is_a_set = {1,2,3,3,4,5,5}
21+
this_is_also_a_set = set([1,2,3,4,5,6,7,8,9,10,10,10,10,10])
22+
this_is_a_dict = {"name": "Paco", "age": 25, "city": "CDMX"}
23+
this_is_also_a_dict = dict(name="Paco", age=25, city="CDMX")
24+
25+
print("***Hola Python***")
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#Link de python. https://www.python.org/
2+
3+
#esto es comentario
4+
5+
#jemplo comentario comillas dobles
6+
"""
7+
Comentario en varias
8+
lineas
9+
"""
10+
#Ejemplo comillas simples
11+
'''
12+
comentario en varias
13+
lineas= otro ejemplo
14+
'''
15+
16+
#Ejemplo variables
17+
my_variable = "Mi variable"
18+
variable = "nueva variable"
19+
20+
#Ejemplo constante
21+
MY_CONSTANTprueba = 16
22+
23+
#Ejemplo Float
24+
my_floatprueba = 15.6
25+
26+
#Ejemplos bool
27+
my_bollfalse = falso
28+
my_bolltrue = verdadero
29+
30+
#Ejemplo cadena de texto
31+
32+
my_str = "mi mensaje doble comillas"
33+
my_string = 'mi mensaje con comillas simples'
34+
35+
print=("HOLA, MUNDO")

0 commit comments

Comments
 (0)