Daftar pemahaman menghasilkan daftar

# generate a list
li = [ i+1 for i in [1,2,3] ]
print(li)
# [2, 3, 4]
Sore Sloth