Question
Consider the following JSON object: json
{ Â "user": { Â Â "id": "u123", Â Â "name": "Alice", Â Â "age": 30, Â Â "address": { Â Â Â "street": "123 Main St", Â Â Â "city": "Anytown" Â Â } Â }, Â "products": [ Â Â {"id": 1, "name": "Laptop", "price": 1200}, Â Â {"id": 2, "name": "Mouse", "price": 25} Â ] } If this JSON is loaded into a Python dictionary json_obj, what would be the value of json_obj["user"]["address"]["city"]?Solution
The correct answer is D
Which mountain’s name did Donald Trump reinstate to ‘Mount McKinley’ from ‘Denali’?
What is the extended timeline for the Payments Infrastructure Development Fund ( PIDF ) scheme announced by the Reserve Bank of India ( RBI ) ?
1st Khelo India Fencing Women's League is being held in which city?
The Ministry of Defence signed a contract with Chowgule & Company Pvt. Ltd. to procure which type of vehicle for the Indian Coast Guard?
Which organization signed an MoU with CIM&H, Chennai to advance Indian Medicine and Homoeopathy?
Which satellite has Iran recently launched into orbit using the satellite carrier Qassed?
Which festival has been added to UNESCO’s Representative List of Intangible Cultural Heritage of Humanity?
Which two companies have collaborated to launch co-branded credit cards?
Which bank’s housing finance arm has received capital markets regulator SEBI’s nod to raise up to Rs 2,500 crore through rights issue of shares?
...Pilot projects to digitize Kisan Credit Card (KCC) have been launched in which two states?