Why I can't achieve 14.2 practice 14.3 practice | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why I can't achieve 14.2 practice 14.3 practice

Hello, I can't solve the tests 1-2 of the practices above listed, because when I achieve one of them, the second is wrong because it takes the answer of the first, and viceversa. It occurs also in Code project. I'm a PRO member. Thank you

12th Dec 2021, 9:59 AM
josé manuel
josé manuel - avatar
1 Answer
+ 1
josé manuel Pro doesn't matter. You need to write a logic which can satisfy all conditions means for different inputs different outputs should be meet. Don't take Hard Code value. take user inputs and multiply them. https://www.sololearn.com/post/1159836/?ref=app
12th Dec 2021, 12:35 PM
A͢J
A͢J - avatar