Jumlah daftar Python
>>> list = [1, 2, 3]
>>> sum(list)
6
Kodi4444
>>> list = [1, 2, 3]
>>> sum(list)
6
x = int(10)
y = int(5)
print(x + y)
#you need to define integer extra otherwise
# python will count this as a str and won't work.
#copy the code to your py script to see the accurate result.