Quick actions

cmd+k|ctrl+k

Navigation

Languages

if else

Snippet info

Language

Python

Visibility

public

Author

dnf668

Created

2025-05-15T06:59:11.940596Z

Updated

2025-05-15T06:59:11.940596Z


year = 2008
x = True if (year%4 == 0 and year % 100 != 0)else True if year% 400 == 0 else False
print(x)
INFO