SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def month_name(n, lang):
  2.     en = {
  3.         "january", "february", "march", 'april', "may", "june", "july",
  4.         "august", "september", "october", "november", "december"
  5.     }
  6.     ru = {
  7.         "январь", "февраль", "март", "апрель", "май", "июнь", "июль",
  8.         "август", "сентябрь", "октябрь", "ноябрь", "декабрь"
  9.     }
  10.     if lang == "en":
  11.         return en[n - 1]
  12.     else:
  13.         return ru[n - 1]
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