How to make a wall-jump and dash ? (pygame)

I’ve fully used this tutorial :
So the code is the same as his ( download in description) and I wanted to go further with it and get to map-making with I really like but first of all, I need some more mechanics.
I’ve actually asked Him How to do it and I fully understand that
same with dash with would simply be the player moving like twice speed in x direction but I don’t know How to write it down.
1 line of code will really help and I will really appreciate if you get me more depth on Why you did it that way so I don’t have to keep asking questions about it :ok_hand: