Ejercicio 1
numero=int(input())
if numero<0:
print("El numero es negativo")
elif numero>0:
print("El numero es positivo")
else:
print("El nmero es cero")
Ejercicio 2
nombre=input()
if nombre!="Juan":
print("No eres Juan")
elif nombre=="Juan":
print("Eres Juan")
Ejercicio 3
mes=int(input())
if mes==1:
print("Enero")
elif mes==2:
print("Febrero")
elif mes==3:
print("Marzo")
elif mes==4:
print("Abril")
elif mes==5:
print("Mayo")
elif mes==6:
print("Junio")
elif mes==7:
print("Julio")
elif mes==8:
print("Agosto")
elif mes==9:
print("Septiembre")
elif mes==10:
print("Octubre")
elif mes==11:
print("Noviembre")
elif mes==12:
print("Diciembre")
else:
print("El valor ingresado no es valido")
Ejercicio 4
pesado=int(input())
fragil=int(input())
grande=int(input())
if (pesado==0 and fragil==0 and grande==0):
print("El paquete es tipo 1")
elif (pesado==1 and fragil==1) or (pesado==1 and grande==1) or (fragil==1 and
grande==1) or (pesado==1 and fragil==1 and grande==1):
print("El paquete es tipo 2")
elif (pesado==1 or fragil==1 or grande==1):
print("El paquete es tipo 3")
Ejercicio 5
nota=float(input())
if nota>0 and nota<=2.59:
print("Deficiente")
elif nota>=3 and nota<=3.59:
print("Regular")
elif nota>=3.6 and nota<=4.29:
print("Bueno")
elif nota>=4.3 and nota<=4.89:
print("Muy bueno")
elif nota>=4.9 and nota<=5:
print("Excelente")
Ejercicio 6
peso = int(input())
altura = float(input())
imc = peso/(altura*altura)
if imc < 18.5:
print("POR DEBAJO")
elif imc>18.5 and imc<=24.9:
print("SALUDABLE")
elif imc>=25 and imc<29.9:
print("SOBREPESO")
elif imc>30 and imc<=34.9:
print("OBESIDAD I")
elif imc>=35 and imc<39.9:
print("OBESIDAD II")
elif imc>=40:
print("OBESIDAD III")
Ejercicio 7
numero1=int(input())
numero2=int(input())
if numero2%numero1==0:
print(f"El numero {numero1} es múltiplo del numero {numero2}")
else:
print(f"El numero {numero1} no es múltiplo del numero {numero2}")
Ejercicio 8
nombre=input()
edad=int(input())
if edad>=18:
print(nombre, "es mayor de edad")
else:
print(nombre, "no es mayor de edad")
Ejercicio 9:
tipo_serie=input()
valoracion_serie=int(input())
if (tipo_serie=="Terror" and valoracion_serie>=8):
print("Serie recomendada")
print("Fin programa")