mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-12 20:09:22 +01:00
14 lines
196 B
Python
14 lines
196 B
Python
|
"""
|
||
|
Sovellus vertailee totuusarvoja (boolean)
|
||
|
"""
|
||
|
|
||
|
import datetime
|
||
|
|
||
|
tanaan = datetime.date.today()
|
||
|
vuosi = int(tanaan.year)
|
||
|
nimi = "Jussi"
|
||
|
|
||
|
print(vuosi)
|
||
|
print(vuosi == 2014)
|
||
|
print(vuosi is vuosi)
|