you are welcome @ patelujas9999 to the https://forum.freecodecamp.org/.
if your code is not running, please rest it the lesson after that follow it what the instraction says.
keep it up!
Create a dictionary with a key 'amount' and value of the amount parameter and pass your new dictionary to the .append() call.
We can break it into 2 smaller steps:
Step 1:
Create a dictionary with a key 'amount' and value of the amount parameter
In the given example code, we have this dictionary:
{'amount': 50.0}
This is a dictionary with a key 'amount' and the value: 50.0.
The dictionary we need to create also have a key 'amount', the value is not 50.0 but is: amount.
Step 2:
pass your new dictionary to the .append() call.
This basically means put the dictionary we created on step 1 between the parentheses() in the function call: expenses.append()