Advertisement
Guest User

Untitled

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