Jan-17-2019, 07:54 AM
(Jan-16-2019, 10:53 PM)abdullahali Wrote: Yes sir, my input is 123456789 for example.
>>> '123456789'.split() ['123456789'] >>> '1 2 3 4 5 6 7 8 9'.split() ['1', '2', '3', '4', '5', '6', '7', '8', '9'] >>>Do you see the problem with your code and the solution for it?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs