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
da0-giang
2017-04-25T10:12:46Z
2017-04-25T10:29:58Z
L = [] for i in range(1,1000): if i % 5 == 0 or i % 3 ==0: L.append(i) print(L) print(sum(L))