This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.o | |
dni-do-konca |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- encoding: utf-8 -*- | |
#obliczanie ilości dni do końca roku szkolnego | |
import datetime | |
rok = datetime.datetime.now().year | |
if (rok % 4 == 0 and rok % 100 != 0) or rok % 100 == 0: | |
prz=True |
NewerOlder