SHARE
TWEET

Untitled

a guest Jan 24th, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def translate(text):
  2.     global translated_text
  3.     translated_text = ' '.join(
  4.         ''.join(
  5.             letter for letter in text if letter.lower()
  6.             not in'аеёиоуыэюя.!?,:;-\'"'
  7.         ).split()
  8.     )
  9. ----------------------------------------------------------
  10. Name = ''
  11. Vacation = ''
  12.  
  13.  
  14. def setup_profile(name, vacation):
  15.     global Name, Vacation
  16.     Name = name
  17.     Vacation = vacation
  18.  
  19.  
  20. def print_application_for_leave():
  21.     global Name, Vacation
  22.     print(f'Заявление на отпуск в период {Vacation}. {Name}', sep='')
  23.  
  24.  
  25. def print_holiday_money_claim(amount):
  26.     global Name
  27.     print(f'Прошу выплатить {amount} отпускных денег. {Name}', sep='')
  28.  
  29.  
  30. def print_attorney_letter(to):
  31.     global Name, Vacation
  32.     print(f'На время отпуска в период {Vacation}', sep='', end='')
  33.     print(f' моим заместителем назначается {to}. {Name}', sep='')
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
Top