We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91591f3 commit 8760d4fCopy full SHA for 8760d4f
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/PepeMN23.py
@@ -0,0 +1,27 @@
1
+# Sitio web oficial de Python: https://www.python.org/
2
+
3
+# Comentario en una sola línea
4
5
+'''
6
+Comentario con saltos
7
+de línea
8
9
10
+a = 10 # Esto es una variable, el numero puede cambiar
11
+diez = 10 # Este valor se conserva lo largo del programa, es una constante.
12
13
+# Tipos de datos primitivos
14
+string = "Este es un string"
15
+integer = 15
16
+float = 12.56
17
+booleano = True
18
+booleano = False
19
+lista = [1,2,3,4,5]
20
+tupla = (1,2,3,4,5)
21
22
+#Imprimir por la terminal "¡Hola Mundo!"
23
+print("¡Hola, Python!")
24
25
26
27
0 commit comments