Question: What is the correct syntax for creating a variable that is bound to a dictionary?
- `fruit_info = {'fruit': 'apple', 'count': 2, 'price': 3.5}`
- `fruit_info =('fruit': 'apple', 'count': 2,'price': 3.5 ).dict()`
- `fruit_info = ['fruit': 'apple', 'count': 2,'price': 3.5 ].dict()`
- `fruit_info = to_dict('fruit': 'apple', 'count': 2, 'price': 3.5)`
Answer: The correct answer of the above question is Option A:`fruit_info = {'fruit': 'apple', 'count': 2, 'price': 3.5}`