+ 1

Get and check my codes , that is shown question 5 is false .

https://code.sololearn.com/c7lWxdlpNJAc/?ref=app

11th Jul 2021, 4:33 PM
Zy Naung
Zy Naung - avatar
6 Respuestas
+ 5
Maybe input is < 0 for that test case. So, we can't use array here https://code.sololearn.com/cH0Di1D6m7xm/?ref=app
11th Jul 2021, 5:32 PM
Simba
Simba - avatar
+ 2
Zy Naung I agree with Simba: Your code can't handle negative integers. That's because of your string array. But you can solve it by removing this array as you don't really need it.
11th Jul 2021, 5:37 PM
Lisa
Lisa - avatar
+ 1
I'm not sure what exactly you mean in the title. but you need to add equal to sign in both of the conditions at line 19 and 21 respectively.
11th Jul 2021, 4:50 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
Is it the cheer creator from code coach?
11th Jul 2021, 4:54 PM
Lisa
Lisa - avatar
+ 1
Lisa you heard that right
11th Jul 2021, 4:56 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
Thank to all of you.And I will edit the right code, thank again.
11th Jul 2021, 5:42 PM
Zy Naung
Zy Naung - avatar