0
Q:

python list extend not working

techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga 
0
subjects=["Maths","Science","Arts","Commerce"]
subjects_2=["Artificial intelligence","Statistics"]
subjects.extend(subjects_2)
print(subjects)  ## used to add more elements from other list
0

New to Communities?

Join the community