How can I use the same loop multiple times in a function

Printable View