There is a nested list :
TaskList= [['Home1',60,421,50],['Home2',10,1500,1200],['Home3',600,769,725],['Home4',5000,598,540],['Task5',900,700,80]]
And I need to remove sublists by using recursive function. For Example : If my input equal to Home2 then I have to remove ['Home2',10,1500,1200]
.
Thanks for now ...
https://stackoverflow.com/questions/65535174/how-to-remove-sublist-by-using-recursive-function January 02, 2021 at 09:06AM
没有评论:
发表评论