Created
March 27, 2020 21:57
-
-
Save HectorTorres/83eacdfeb494bbb47398912606e464a3 to your computer and use it in GitHub Desktop.
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
#Esta es una linea de comentario, la cual no es tomada en cuenta por el programa | |
"""Este es un comentario de varias lineas. | |
Nada de esto es tomado en cuenta por el programa.""" | |
print("Esto es un string") | |
print('Esto también es un string') | |
x = "Esta es una variable string" | |
x, y, z = "naranja", "azul", "verde" | |
print(x) | |
print(y) | |
print(z) | |
x = y = z = "azul" | |
print(x) | |
print(y) | |
print(z) | |
a = "Esta es una " | |
b = "cadena de strings" | |
print(a + b) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment