+ 4
These threads can help you out, as the logic behind the loops is same in every programming language.
https://www.sololearn.com/Discuss/453906/?ref=app
https://www.sololearn.com/Discuss/244556/?ref=app
https://www.sololearn.com/Discuss/1070031/?ref=app



