plz tell me where i m wrong... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
6th Jan 2018, 2:13 PM
PRO
PRO - avatar
2 Answers
+ 1
Hannah is correct, but you also have a logic error. you keep overwriting a, so the output will only be the sum of the fifth set of inputs, the first four will be thrown out.
6th Jan 2018, 2:46 PM
Elliot D
Elliot D - avatar
+ 1
oh...thank u guys...that was great...☺☺
6th Jan 2018, 3:32 PM
PRO
PRO - avatar