Skip to content

Commit bc35581

Browse files
authored
Merge pull request mouredev#6241 from LisandroArnodo/LisandroArnodo.py
#00/python/LisandroArnodo.py
2 parents 0dcbe46 + 2299fef commit bc35581

File tree

1 file changed

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

1 file changed

+28
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# https://www.python.org/
2+
3+
#Esto es un comentario de una linea
4+
5+
6+
"""
7+
Esto es tambien un
8+
comentario de
9+
varias lineas
10+
"""
11+
12+
#Variables
13+
my_variable = "Mi variable"
14+
my_variable = "Nuevo valor de mi variable"
15+
16+
#Las variables constantes no existen en Python pero se escriben en mayuscula por convesion
17+
18+
MY_CONSTANT = "Mi variable constante"
19+
20+
#Tipos primitivos de datos
21+
my_int = 1
22+
my_float = 1.5
23+
my_boolean = True
24+
my_boolean = False
25+
my_string = "Mi cadena de texto"
26+
my_other_tring = "Mi otra cadena de texto"
27+
28+
print ("Mi primer Hola Mundo en Python")

0 commit comments

Comments
 (0)