a guest Mar 19th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand