Buat daftar kelipatan 3 dari 0 hingga 20.

In [1]: a = [i for i in range(20) if i % 3 ==0]                                                   

In [2]: a                                                                                         
Out[2]: [0, 3, 6, 9, 12, 15, 18]
Mr. Glitch