Read a JSON string from the input and convert it into a Python object. Print the type of the object (using the method type()) and the object itself.
Json module
JSON input
Report a typo
Sample Input 1:
{"greeting_eng" : "Hi!"}Sample Output 1:
<class 'dict'>
{'greeting_eng': 'Hi!'}Write a program in Python 3
import json
# write your code here
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.