How can I delete a value from a list in another a list

0 votes
I have created a list with three variables.

l = a,b,c

For the third variable c in the list, I created another list of values.

c = 1, 2,3,4,5

i.e. list_new = [a,b,[1,2,3,4,5]]

How can I delete the last value in c (i.e. 5, a value from a list in another list? Function?
Mar 2, 2023 in Python by anonymous

edited 5 days ago 15 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP