Apr-03-2018, 06:55 PM
(Apr-03-2018, 06:49 PM)buran Wrote: a is 81-char string, i.e. 81 digits as string. a[:i]+m+a[i+1:] will replace the char (digit on index i) with mthat is not 100% precise
r(a[:i]+m+a[i+1:]) is calling function r with a string that is derived from a, but the char (digit) on index i is replaced with m
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