Spin recovery is a good exercise in the right aircraft, but a better one is try this in a 152.
Full flap 30 1500 rpm and hold level flight as the speed slowly bleeds off and wait. Not below 3000 agl . It will suddenly drop the starboard wing and you are half way into a spin.
For recovery some left rudder to much and you are into a port spin. ........
.......So next time in the 172 try the same configuration and procedure for I think it will be a more important lesson.
Better check the C172 Flight Manual, don't think intentional spinning or spin entries are approved with flap extended.