I need help with short python + json script

Job ID: 35476305

Budget: $10 – $30 USD

given this json code, the script need to know how to generate JSON file for the download.
the script need to know how to handle single server or multiple servers - hint a loop (only thing that chagnes it the IP + hostname)
meaning an input of range of hostnames and ip addresses will automatically create the text to the JSON.
the user input will be from Excel file or from the CLI (the script will ask the user).
Related categories: Python Linux JSON Programming Scripting