Skip to content

Commit 7146777

Browse files
authored
Merge pull request mouredev#3760 from BuriticaSara/patch-1
Create BuriticaSara.py
2 parents faf4bff + 3c6423f commit 7146777

File tree

1 file changed

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

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# https://python.org
2+
# se utiliza númeral para comentar una sola línea
3+
""" se utiliza 3 comillas (pueden ser simples o dobles) para
4+
comentar varias líneas"""
5+
6+
#Declaración de variable
7+
minombre = 'Sara'
8+
"""Declaración de constante (las constantes no existen en python pero podemos
9+
utilizar una variable y nombrarla en mayúscula para identificar que no se cambia"""
10+
MESES_DEL_ANNE = 12
11+
12+
#variables que representan cada tipo de dato primitivo
13+
tipostring = 'texto'
14+
tipoint = 10
15+
tipofloat = 1.5
16+
tipobool = True
17+
18+
#imprimir Hola Python
19+
print ('Hola, python')

0 commit comments

Comments
 (0)