import datetime
def trunc_datetime(someDate):
return someDate.replace(day=1, hour=0, minute=0, second=0, microsecond=0)
a = trunc_datetime(datetime.datetime(2018,2,15))
b = trunc_datetime(datetime.datetime(2018,3,20))
print(a <= b)
import random
import string
slova = ['asd', 'dsa','qwe', 'weq', 'zxc', 'cxz', 'rty', 'ytr']
print(slova)
print(random.sample(slova, 3))