Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. print("Ingrese su nombre:")
  2. nombre = input()
  3. print("Ingrese su rut completo:")
  4. rut = input() #considerando formato 10.000.000-0
  5. print("Ingrese la cantidad total de horas trabajadas:")
  6. horas_trabajadas = int(input())
  7. print("Ingrese cantidad de horas extras:")
  8. horas_extras = int(input())
  9. pago = (horas_trabajadas-horas_extras)*20000+horas_extras*25000
  10. print("Nombre:", nombre, "Rut:", rut, "Pago:", pago)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement