Hey guys i have this snippet that i need to change it to a for loop to optimise readability no matter how much is the execution time but we want to avoid complexity and havi