Skip to content
Advertisement

Python – Find and get the position of element in array

I have a json file like below

JavaScript

I need to find the position of name: col10 in the columns array.

Advertisement

Answer

something like the below

JavaScript

output

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement