File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://python.org
2+
3+ # Tipo de comentario en una línea
4+
5+ """
6+ Tipo de
7+ comentario
8+ en varias
9+ líneas
10+ """
11+
12+ '''
13+ Tipo de
14+ comentario
15+ en varias
16+ líneas
17+ '''
18+
19+ my_variable = "Mi variable"
20+ my_variable = "Valor nuevo de mi variable"
21+
22+ MY_CONSTANT = "Mi constante" # Representación por convención
23+
24+ my_int = 4
25+ my_float = 8.6
26+ my_bool = True
27+ my_bool = False
28+ my_string = "Mi cadena de texto"
29+ my_string = 'Mi otra cadena de texto'
30+
31+ print ("Hola, Python!" )
32+
33+ print (type (my_int ))
34+ print (type (my_float ))
35+ print (type (my_bool ))
36+ print (type (my_bool ))
37+ print (type (my_string ))
38+ print (type (my_string ))
You can’t perform that action at this time.
0 commit comments