Function randomize() reset generator of random numbers. So, since random create number from 0 to 2, NUM can be from 2 to 4.
In the next line we start cycle from 1 to NUM, in which we output symbols from NUM to 7 (so, we output 7-NUM+1 characters, which start from C (or D or E) and continues to H.
So, we have from 2 to 4 lines, each line contain symbols from C(or D or E) to H, and this lines a same
For example, it can be:
EFGH
EFGH
EFGH
EFGH
Or
DEFGH
DEFGH
DEFGH
Comments
Leave a comment