+ 3
An example to clarify your intention?
Honestly I didn't understand your question,
"print something for every step gained"
What is that thing to be printed?
What is gained step?
And please sketch a code first, save in your profile and share the code link in your question Description so anyone can review it.



