Skip to content

Commit f53ae99

Browse files
authored
Merge pull request #8827 from cit-star/patch-2
#0-Python
2 parents 8cd5154 + 0dc2088 commit f53ae99

File tree

1 file changed

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

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Esto un comentario
2+
3+
""" Esto es
4+
un
5+
comentario
6+
"""
7+
8+
''' Esto también es un comentario '''
9+
10+
my_variable = "Mi variable"
11+
my variable = "Nuevo valor de mi variable"
12+
13+
MY_CONSTANT = "Mi constante"
14+
15+
my_int = 1
16+
my_float = 1.5
17+
my_bool = True
18+
my_bool = False
19+
my_string = "Mi cadena de texto"
20+
my_other_string = 'Mi otra cadena de texto'
21+
22+
23+
print("¡Hola, Python!")
24+
25+
print(type(my_int))
26+
print(type(my_float))
27+
print(type(my_bool))
28+
print(type(my_int))
29+
30+

0 commit comments

Comments
 (0)