Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.52 KB | None | 0 0
  1. Cuil=()
  2. DNI=int(input('Ingrese su número de DNI '))
  3. Fecha=str(input('Ingrese fecha actual '))
  4.  
  5. if (DNI%10==0 or DNI%10==1) and Fecha==('viernes' or 'Viernes'):
  6.     Cuil=int(input('Ingrese número CUIL '))
  7.     apellido=str(input('Ingrese apellido '))
  8.     nombre=str(input('Inrese nombre '))
  9.     print('Su preinscripción se ha realizado con éxito')
  10.    
  11. if (DNI%10==2 or DNI%10==3) and Fecha==('sabado' or 'Sabado' or 'Sábado' or 'Sabado'):
  12.         Cuil=int(input('Ingrese número CUIL '))
  13.         apellido=str(input('Ingrese apellido '))
  14.         nombre=str(input('Inrese nombre '))
  15.         print('Su preinscripción se ha realizado con éxito')
  16.        
  17. if (DNI%10==4 or DNI%10==5) and Fecha==('domingo' or 'Domingo'):
  18.     Cuil=int(input('Ingrese número CUIL '))
  19.     apellido=str(input('Ingrese apellido '))
  20.     nombre=str(input('Inrese nombre '))
  21.     print('Su preinscripción se ha realizado con éxito')
  22.  
  23. if (DNI%10==6 or DNI%10==7) and Fecha==('lunes' or 'Lunes'):
  24.     Cuil=int(input('Ingrese número CUIL '))
  25.     apellido=str(input('Ingrese apellido '))
  26.     nombre=str(input('Inrese nombre '))
  27.     print('Su preinscripción se ha realizado con éxito')
  28.  
  29. if (DNI%10==8 or DNI%10==9) and Fecha==('martes' or 'Martes'):
  30.     Cuil=int(input('Ingrese número CUIL '))
  31.     apellido=str(input('Ingrese apellido '))
  32.     nombre=str(input('Inrese nombre '))
  33.     print('Su preinscripción se ha realizado con éxito')
  34.    
  35. if not Cuil:
  36.     print('Su preinscripción no se realizó con éxito, consulte la web del gobierno.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement