Now you gonna put your code to do some push ups and pull ups, let’s see how much your code can…