You've already forked Curso-lenguaje-python
Restructure content and add notes from HolaMundo
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
22
python-total/dia_02/01_variables.py
Normal file
22
python-total/dia_02/01_variables.py
Normal file
@@ -0,0 +1,22 @@
|
||||
nombre = "Julia"
|
||||
apellido = "Roberts"
|
||||
nombrecompleto = nombre + " " + apellido
|
||||
|
||||
nombre = "Juan"
|
||||
print(nombre)
|
||||
|
||||
nombre = "Laura"
|
||||
print(nombre)
|
||||
|
||||
edad = 30
|
||||
edad2 = 15
|
||||
print(edad + edad2)
|
||||
totaledad = edad + edad2
|
||||
|
||||
print(totaledad)
|
||||
|
||||
nombre = input("Dime tu nombre: ")
|
||||
|
||||
apellido = input("Dime tu apellido: ")
|
||||
print("Tu nombre completo es " + nombre + " " + apellido)
|
||||
|
||||
Reference in New Issue
Block a user