Python Data = { "logs": [ { "logType": “xxxxx” }, { "logType": “43435” }, { "logType": “count” }, { "logType": “4452” }, { "logType": “count” }, { "logType": “count” }, { "logType": “43435” }, {...


Python


Data =


{


  "logs": [


    {


      "logType": “xxxxx”


    },


    {


      "logType": “43435”


    },


    {


      "logType": “count”


    },


    {


      "logType": “4452”


    },


    {


      "logType": “count”


    },


    {


      "logType": “count”


    },


    {


      "logType": “43435”


    },


    {


      "logType": "count"


    },


    {


      "logType": "count"


    }


  ]


}


So, please count the total of  "logType": “count”



My desired output:


{


  "count”: 5


}



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here