1. What is JSON? How would convert JSON data into Python data?

JSON – stands for JavaScript Object Notation. It is a popular data format for storing data in NoSQL
databases. Generally JSON is built on 2 structures.

  1.  A collection of <name, value> pairs.
  2.  An ordered list of values.
    As Python supports JSON parsers, JSON-based data is actually represented as a dictionary in Python. You can convert json data into python using load() of json module.

 

2. How are the functions help() and dir() different?

The...

Read More