Resolved: Another solution to question 9
I used another way to solve the question using a one loop rather than a nested loop. Note that I got the same answer. I am wondering if it is right ?
here's the code I used inserted below :

1 answers ( 1 marked as helpful)
Hey Ayet,
Thank you for reaching out!
Your code is well written and returns the desired output. It is absolutely correct.
Kind regards,
365 Hristina