File size: 1,052 Bytes
877927e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

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 )