Enter a new city:
Update City
def updateCity(*args, **kwargs): city = Element('cityInput').value my_dict = {'name': 'John', 'age': 30} # Initialize the dictionary my_dict['city'] = city # Update the dictionary with the new city print(f'Updated dictionary: {my_dict}')