Skip to content

#00-Python #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#PYTHON

#Link de Sitio Web: https://www.python.org/

#Sintaxis para comentarios en Python:
# - Inline -> #
""" - MultiLine -> Este es un comentario de varias lineas
En Python
"""

#Variable y constante en Python
# - Variable
nombre = "hola mundo"

# Constante se declaran en mayusculas desde un archivo separado y estas son importadas desde ese archivo
EDAD = 23

# Ejemplos de variables segun el tipo de datos

# string
comida = "Sushi"

# flotante
precio = 86.90

# entero
cantidad = 4

# boleano
disponibilidad = true

# Impresion en terminal de texto
print("¡Hola, [y el nombre de tu lenguaje]!")