How To Implement Start Stop And Skip Into A Code Function Python