title: print statement in python along with json responses
body: <p>i'm very new to python, and i looked at the python document, they have a print statement <a href="https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting" rel="nofollow noreferrer">here</a>, which looks similar to C languages printf. However, I tried to simulate it and it didnt work. I'm currently working on parsing the json response and if anyone could help me or even a bit hint it would be great. Thanks: Here is my python code.</p>
  
  <pre><code>   print('the inventory is {inventory} \n the orderlevel is {orderlevel} \n the slots is {slots}' %'inventory' = jsonResponse['dsn']['inventory'],'orderlevel' = jsonResponse['dsn']['order_level'],'slots' =  jsonResponse['slots']);
  </code></pre>