The input to the following program is a JSON string containing data about a city: its name and population. The program processes this string and prints the relevant data.
Fill in the missing code.
The input to the following program is a JSON string containing data about a city: its name and population. The program processes this string and prints the relevant data.
Fill in the missing code.
Sample Input 1:
{"name":"Barcelona","population":170000}Sample Output 1:
Barcelona 170000Create a free account to access the full topic