Home › Coding › Below is an instruction that describes a task. Write a respo...
Below is an instruction that describes a task. Write a respo...
Coding · Gemini, GPT-5.6, Claude · Coding
55Quality
87%Useful
85Reliability
The prompt
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Take the list of people below and create a Python dictionary with the names as keys and the ages as values. ### Input: John (20), Jane (40), Alex (18), Peter (45) ### Output: people_dict = {'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}