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
ninhvunguyen
2016-09-21T09:04:44Z
lst = [] for i in range(1,1000): if i % 15 == 0: lst.append(i) print("list: ",lst) print("sum: ",sum(lst))