Help me in solving PSPP115 problem

My issue

student_info = {“name”: “Alice”, “age”: 25, “course”: “Python”}

Adding a new key-value paistu

student_info[“location”] = “New York”

Modifying an existing value

student_info[“age”]=26

print(“Update Student Info:”,student_info)

i gave this code and i am getting error don’t know why

My code

# Update the code below to get the necessart output

student_info = {"name": "Alice", "age": 25, "course": "Python"}

# Adding a new key-value paistu
student_info["location"] = "New York"
# Modifying an existing value
student_info["age"]=26

print("Update Student Info:",student_info)

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

@vishnupriyag25
plzz refer the following solution.

# Solution as follows

student_info = {"name": "Alice", "age": 25, "course": "Python"}

# Adding a new key-value pair
student_info["location"] = "New York"

# Modifying an existing value
student_info["age"] = 26

print("Updated Student Info:", student_info)