cmd+k|ctrl+k
cmd+k
ctrl+k
Navigation
Browse public code snippets.
Contact us about glot.io.
Read the privacy policy.
Manage snippets in your account.
Open your account settings.
Languages
Create a new Python snippet.
Create a new TypeScript snippet.
Create a new C snippet.
Create a new Rust snippet.
Create a new Java snippet.
Python
public
dnf668
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)