notsee / app.py
ygujvujgbjugyu's picture
Create app.py
877927e
variable_normal = input("En or Es: ")
variable= variable_normal.lower()
#^En
if variable == "en" :
horas = float(input("insert the hours that work in a year: "))
paga_h = float(input("insert how much you get paid for hour of work(dot insted of comma): "))
sueldo = horas * paga_h
pagas = float(input("insert how many payments in a year: "))
moneda = input("insert the symbol of the current of you country: ")
print("your payment in a year is:", sueldo,moneda)
print("Your pay in the payments that you have is: ", sueldo / pagas, moneda )
#*ES
elif variable == "es":
horas = float(input("Introduce tus horas de trabajo anuales: "))
paga_h =float(input ("Introduce lo que cobras por hora(tiene que estar con un punto en vez de una coma): "))
sueldo = horas * paga_h
pagas = float(input("intoduce cuantas pagas tienes al año: "))
moneda = input("intoduce la moneda que utilizas: ")
print("Tu sueldo anual es:", sueldo,moneda)
print("Tu sueldo de las con las pagas es: ", sueldo / pagas, moneda )