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 62a461a + 4ec9ffd commit 62575eeCopy full SHA for 62575ee
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/bhairava11.py
@@ -0,0 +1,34 @@
1
+# https://python.org
2
+
3
+# Comentario en una línea
4
5
+"""
6
+Esto también es
7
+un comentario
8
+en varias líneas
9
10
11
+'''
12
13
14
+en varias líneas pero con comillas simples
15
16
17
+my_variable = "Mi tarea"
18
+my_variable = "Nuevo valor de mi tarea"
19
20
+MY_CONSTANT = "Mi constante" # por convención
21
22
+my_int = 8
23
+my_float = 4.7
24
+my_bool = True
25
+my_bool = False
26
+my_string = "Mi cadena de texto"
27
+my_other_string = 'Mi otra cadena de texto'
28
29
+print("¡Hola, Python!")
30
31
+print(type(my_int))
32
+print(type(my_float))
33
+print(type(my_bool))
34
+print(type(my_string))
0 commit comments