Q:

Write a Python program to extend a list without append

0

Write a Python program to extend a list without append

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

x = [10, 20, 30]
y = [40, 50, 60]
x[:0] =y
print(x)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now