DevJourney · code I wrote while learning

README.md

294 B

Problem Statement

Write a python program to perform the following on the given list,
L1=[1,2,3,4,5]
a. Subtract 1 from each element and create a list L2 by applying the list
comprehension technique. L2=[0,1,2,3,4]
b. Concatenate L1 and L2 in L1. L1= [1,2,3,4,5,0,1,2,3,4]