From dce39be748b47b93806df5d893daab43690969e4 Mon Sep 17 00:00:00 2001 From: Sebas Flores Date: Sun, 15 Mar 2026 18:36:58 -0400 Subject: [PATCH 1/2] #00 - Python --- .../python/Sebs.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs.py diff --git a/Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs.py b/Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs.py new file mode 100644 index 0000000000..953de3b6a6 --- /dev/null +++ b/Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs.py @@ -0,0 +1,29 @@ +# COMENTARIOS +# https://.python.org/ +# Comentario de una línea +""" +Esto también es +un comentario +en varias líneas +""" +''' +Esto también es +otro comentario +en varias líneas +''' + +# CREACIÓN DE VARIABLES: se usa snake_case para escribir nombres de variables +mi_variable = "Esto es una variable" +mi_variable = "Nuevo valor de la variable" + +# CONSTANTE +MY_CONSTANT = "Mi constante" # por convención + +# TIPOS DE DATOS PRIMITIVOS +cadena = "Hola Mundo!" # str +entero = 8 # int +flotante = 22.1 # float +booleano = True # bool + +# IMPRESIÓN POR PANTALLA +print("¡Hola, Python") \ No newline at end of file From 7a34438d5a34e9a8a91618955c0924853b196fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Gallego?= <75795616+kontroldev@users.noreply.github.com> Date: Mon, 6 Apr 2026 12:08:01 +0200 Subject: [PATCH 2/2] Rename Sebs.py to Sebs08.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hola! Por favor revisa las [reglas](https://github.com/mouredev/roadmap-retos-programacion#instrucciones) de aportación de ejercicios. -El nombre el fichero debe coincidir con el de tu usuario en GitHub más la extensión del lenguaje. (Ej: mouredev.kt) --- .../python/{Sebs.py => Sebs08.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/{Sebs.py => Sebs08.py} (95%) diff --git a/Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs.py b/Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs08.py similarity index 95% rename from Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs.py rename to Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs08.py index 953de3b6a6..9984289eac 100644 --- a/Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs.py +++ b/Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Sebs08.py @@ -26,4 +26,4 @@ booleano = True # bool # IMPRESIÓN POR PANTALLA -print("¡Hola, Python") \ No newline at end of file +print("¡Hola, Python")