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

Pubblicato il: 10 maggio 2024
sul canale di: 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]


In questa pagina del sito puoi guardare il video online Function in Python | Class-12: Computer Science | Important Program-1 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Technology Planet 10 maggio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 161 volte e gli è piaciuto 3 spettatori. Buona visione!