Skip to content

Commit dc80bf8

Browse files
committed
#00 - python
1 parent 915f848 commit dc80bf8

File tree

1 file changed

+24
-0
lines changed
  • Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# https://www.python.org/
2+
3+
# comentario en una línea
4+
5+
"""
6+
comentario en
7+
varias líneas
8+
"""
9+
10+
'''
11+
comentario en
12+
varias líneas
13+
'''
14+
15+
my_variable = 'variable'
16+
17+
MY_CONSTANT = 'constante' # convención
18+
19+
my_int = 1
20+
my_float = 2.5
21+
my_str = "string"
22+
my_bool = True
23+
24+
print("¡Hola, Python!")

0 commit comments

Comments
 (0)