Still not working ... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Still not working ...

I recheck and made some modifications. Which is if wr enter 16 digit .. the code will work as usual. And if enter morethan 16 digit then it will eliminate the extra. And do as before.. https://code.sololearn.com/ckmxiqufpx1D/?ref=app https://www.sololearn.com/discuss/3245655/?ref=app

9th Oct 2023, 1:13 PM
MOHAMMED SHAHUL
MOHAMMED SHAHUL - avatar
2 Answers
+ 4
GAME PRO , it would have been better to use your initial post instead of starting a complete new ones. in your last post i have given you some hints, that have not all properly been used. > your new code is full of comments, debugging code and so on, which makes the code hard to read and anderstand. i have taken your first code try and implemented my suggestions. https://code.sololearn.com/c9kgnMrlggQC/?ref=app
9th Oct 2023, 8:10 PM
Lothar
Lothar - avatar
+ 1
I considered ur answer , but I forget the last part where the if condition . And also i tried to eliminate the extra number in a complex way.. that's why the code become so hard to read.. and you didn't tried for any kind of elimination but insted u checked for the length of the digit ..(smart move.. (I couldn't figure it in that way)).. Thanks for correcting my code..
10th Oct 2023, 10:44 AM
MOHAMMED SHAHUL
MOHAMMED SHAHUL - avatar