Pygame jump issue

I am learning pygame module developing a platform game. I am taking inspiration from this youtube chanel https://www.youtube.com/watch?v=G8pYfkIajE8. I can handle the fact that the player cannot jump …