mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 19:22:46 +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)
|