Answers for "pytohn add to list"

9

add to python list

array.append(element)
Posted by: Guest on December-15-2019
0

lsit append in python

List=[1,'a',"hello"]
List.append(True)
print(List)
# output: [1, 'a', 'hello', True]
Posted by: Guest on October-21-2020

Python Answers by Framework

Browse Popular Code Answers by Language