from datetime import datetime
def monthx():
MO = now.strftime("%m")
if MO == 12:
q = "Грудень"
return q
else:
if MO == 11:
q = "Листопад"
return q
print(monthx())
ZnJvbSBkYXRldGltZSBpbXBvcnQgZGF0ZXRpbWUKZGVmIG1vbnRoeCgpOgogICAgTU8gPSBub3cuc3RyZnRpbWUoIiVtIikKICAgIGlmIE1PID09IDEyOgogICAgICAgICAgICBxID0gItCT0YDRg9C00LXQvdGMIgogICAgICAgICAgICByZXR1cm4gcQogICAgZWxzZToKICAgICAgICBpZiBNTyA9PSAxMToKICAgICAgICAgICAgcSA9ICLQm9C40YHRgtC+0L/QsNC0IgogICAgICAgICAgICByZXR1cm4gcSAgICAgICAKCnByaW50KG1vbnRoeCgpKQ==