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.
2 parents e17221a + ac5c92a commit 82a0c9aCopy full SHA for 82a0c9a
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/cesar-rosado.py
@@ -0,0 +1,39 @@
1
+# Sitio oficial
2
+# https://www.python.org
3
+
4
+# Comentarios
5
6
+# Esto es un comentario de una sola linea
7
8
+"""
9
+ Este es un comentario
10
+ en varias líneas
11
+ usando comillas dobles
12
13
14
15
16
17
+ usando comisillas simples
18
19
20
+# Variables
21
+x = 10
22
23
+# Constantes
24
+PI = 3.14159
25
26
+# Variables con datos primitivos
27
28
+# Enteros
29
+num = 5
30
+# Flotantes
31
+num2 = 5.5
32
+# Cadena de texto
33
+texto = "Hola mundo"
34
+# Boolean
35
+x = True
36
+y = False
37
38
+# Imprime Hola, [Nombre del lenguaje]
39
+print("Hola, Python")
0 commit comments