concatenating $PATH variable on mac with zsh to have code command working

Solution for concatenating $PATH variable on mac with zsh to have code command working
is Given Below:

How can I concatenate my $PATH variable to have code command working, on VSCode? On their website it says to add the following line to ~/.zprofile

export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"

but my ~/.zprofile already has the following line:

PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin:${PATH}"

I have tried to just add this first entry below the first PATH declaration but it broke everything, no command like cat open or vim was working, so I have tried to just concatenate it like so

PATH="/Library/Frameworks/Python.framework/Versions/3.9/bin:${PATH}$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"

But it did not work.
I have VSCode in my applications folder, I ran shift+command+p and from there I have added vscode to the path and nothing.

Thanks