Function in Python | Class-12: Computer Science | Important Program-1

Published: 10 May 2024
on channel: Technology Planet
161
3

Function in Python | Class-12: Computer Science | Important Program-1
Write a function INDEX_LIST(L), where L is the list of elements passed
as argument to the function. The function returns another list named
‘indexList’ that stores the indices of all Non-Zero Elements of L.
For example:If L contains [12,4,0,11,0,56]
The indexList will have - [0,1,3,5]


On this page of the site you can watch the video online Function in Python | Class-12: Computer Science | Important Program-1 with a duration of hours minute second in good quality, which was uploaded by the user Technology Planet 10 May 2024, share the link with friends and acquaintances, this video has already been watched 161 times on youtube and it was liked by 3 viewers. Enjoy your viewing!