Last answered:

20 Jul 2023

Posted on:

19 Jul 2023

0

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)
Instructor
Posted on:

20 Jul 2023

0

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 

Submit an answer