Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add items to tuple in python

# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A

programming_languages = ("python","c#","c++","c","java","javascript","assembly")
p_l = list(programming_languages)
p_l.append("pascal")
programming_languages = tuple(p_l)
print(programming_languages)
 
PREVIOUS NEXT
Tagged: #add #items #tuple #python
ADD COMMENT
Topic
Name
4+7 =