And try to be a randomly generated a to z method (five, were asked not to repeat), breakpoint test found that when the sj this array (sj is to return an array) is the assignment after the first time, the input is empty, and when he returned to the output will become digital, help children
CodePudding user response:
DDDDDDDDDDDDD
CodePudding user response:
The first figure to generate random five characters of it's not a big problem, the only change is the scope of the generated random number is (0, 26), as you write will appear index is out of range, The second picture do you want? You want to output generated five characters, must finish all these five characters such as generating output again ah, take the last a for loop to return statements on a line,
CodePudding user response:
Put finally a for loop in your outside look at the second for loop