Example & Tutorial understanding programming in easy ways.

How we can add new item in list at the end ?

We can do this by using append() function 

like:

l=[1,2,3,4]

l.append(5)

print(l)

output:

[1,2,3,4,5]

Read More →