Skip to content

Commit 15f396c

Browse files
authored
Merge pull request #2 from juanppdev/Juanppdev
Juanppdev - Reto #00 - Python
2 parents 53272c9 + b121ed2 commit 15f396c

File tree

1 file changed

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

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# https://www.python.org/
2+
3+
# Conetario en una sola linea
4+
"""
5+
Esto es un
6+
comentario en
7+
varias lineas
8+
"""
9+
'''
10+
Esto tambien es un
11+
comentario en
12+
varias lineas
13+
'''
14+
15+
my_variable = 'My String Variable'
16+
print(my_variable)
17+
18+
# Variables
19+
my_variable = 'My String Variable'
20+
print(my_variable)
21+
22+
my_int_variable = 5
23+
print(my_int_variable)
24+
25+
my_int_to_str = str(my_int_variable)
26+
print(my_int_to_str)
27+
print(type(my_int_to_str))
28+
29+
my_bool_variable = False
30+
print(my_bool_variable)
31+
32+
lenguaje = "python"
33+
print(f"Hola {lenguaje}")

0 commit comments

Comments
 (0)