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:
26
python-total/dia_01/primer_proyecto.py
Normal file
26
python-total/dia_01/primer_proyecto.py
Normal file
@@ -0,0 +1,26 @@
|
||||
""" Primeros ejercicios """
|
||||
|
||||
print("Hola mundo")
|
||||
|
||||
print(100 + 50)
|
||||
|
||||
print("\nHOLA" + " " + 'MUNDO')
|
||||
|
||||
print("\nMe llamo \"Manuel\"")
|
||||
|
||||
print("Primera linea\nSegunda linea")
|
||||
|
||||
print("\ttabulemos")
|
||||
|
||||
print("This isn't a number")
|
||||
print('This isn\'t a number')
|
||||
print("Este signo \"\\\" es una barra invertida")
|
||||
|
||||
print("\n\nHola ")
|
||||
print("Tu nombre es " + input("Introduce tu nombre: ")
|
||||
+ " y tu apellido es "
|
||||
+ input("Introduce tu apellido: "))
|
||||
|
||||
print(input("¿Qué estás estudiando? "))
|
||||
|
||||
print(input("Escribe tu nombre: ") + " " + input("Escribe tu apellido: "))
|
||||
Reference in New Issue
Block a user