Skip to content

Commit 71906fa

Browse files
authored
Merge pull request mouredev#3666 from oscargeovannyrincon/reto00
#00 - python
2 parents 60ebf18 + 2bcb70b commit 71906fa

File tree

1 file changed

+30
-0
lines changed

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+
# https://www.python.org/doc/ #
2+
3+
# comentario de una linea #
4+
"""comentario de varias
5+
lineas con doble comilla"""
6+
'''comentario de varias
7+
lineas con comilla simple'''
8+
9+
10+
11+
print('RETO_01')
12+
13+
my_variable="Mi variable"
14+
MY_CONSTANT="MI CONSTANTE"
15+
16+
print(my_variable,'\t',type(my_variable))
17+
print(MY_CONSTANT,'\t',type(MY_CONSTANT))
18+
19+
20+
my_integer=123
21+
my_float=123.456
22+
my_string='hola'+'python'
23+
my_boolean=True
24+
print(my_integer,'\t',type(my_integer))
25+
print(my_float,'\t',type(my_float))
26+
print(my_string,'\t',type(my_string))
27+
print(my_boolean,'\t',type(my_boolean))
28+
print("Este el primer reto y sus impresiones entero {}, flotante {}, string {} y boolean {}".format(my_integer, my_float, my_string, my_boolean))
29+
30+
print('FIN DEL RETO')

0 commit comments

Comments
 (0)