Quick actions

cmd+k|ctrl+k

Navigation

Languages

3.8

Snippet info

Language

Python

Visibility

public

Author

ninhvunguyen

Created

2016-09-21T09:04:44Z

Updated

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))
INFO