-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7617 from Tallahashee/patch-1
Create Tallahashee.py
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/python/Tallahashee.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# https://python.org | ||
|
||
# Esto es un comentario en una linea | ||
|
||
""" | ||
Esto es un | ||
comentario en | ||
varias lineas | ||
""" | ||
my_variable = "Mi variable" | ||
my_variable = "Nuevo valor de mi variable" | ||
|
||
MY_CONSTANT = "Mi constante" # por conveccion | ||
|
||
my_int = 1 | ||
my_float = 2.5 | ||
my_bool = True | ||
my_bool = False | ||
my_string = "Mi cadena de texto" | ||
my_other_string" = 'Mi otra cadena de texto' | ||
|
||
print("¡Hola, Python!") | ||
|
||
print(type(my_int)) | ||
print(type(my_float)) | ||
print(type(my_bool)) | ||
print(type(my_string)) |