I want to strong my one item in array content. I use loop for with array and if for item. Thanks you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to strong my one item in array content. I use loop for with array and if for item. Thanks you.

Strong item array content. https://code.sololearn.com/W2c95sNhbx85/?ref=app

22nd Feb 2021, 4:31 AM
Malick Diagne
Malick Diagne - avatar
2 Answers
+ 1
https://code.sololearn.com/WM86sY8r5SCM/?ref=app
22nd Feb 2021, 4:42 AM
SAN
SAN - avatar
+ 1
The conditional statement, i>2, in the for loop is causing the problem.
22nd Feb 2021, 5:33 AM
ODLNT
ODLNT - avatar