Skip to content

Commit 11b123a

Browse files
committed
#00 - python
1 parent 1cb09d2 commit 11b123a

File tree

1 file changed

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

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#https://www.python.org/
2+
3+
#comentario de una linea
4+
5+
"""
6+
comentario
7+
de varias
8+
líneas
9+
"""
10+
11+
variable = 1
12+
CONSTANTE = 2
13+
14+
string = "cadena de texto"
15+
int = 1
16+
float = 2.1
17+
bool = (False, True)
18+
complex = 1 + 3j
19+
bytes = b'\x00\x01\x02\x03'
20+
bytearray = bytearray(b'\x00\x01\x02\x03')
21+
nonetype = None
22+
23+
print("¡Hola, Python!")

0 commit comments

Comments
 (0)