Facebook
From a298b112, 3 Years ago, written in Python.
Embed
Download Paste or View Raw
Hits: 78
  1. current_date = datetime.today().strftime('%Y-%m-%d')
  2. for user in users:
  3.         birthday = user.birthday.strftime('%Y-%m-%d')
  4.     if birthday == current_date:
  5.         print(birthday)
  6.         print(user.name) # user.name dan oldin tartib raqamini chiqarish kerak
  7.         current_date += #nimadur qo'shish kerak shetta