Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
I believe it is the string replication operation using '*' operator. in python 'a'*-1 would return an empty string. But Ruby will not let you replicate a string negative times.
25th Oct 2017, 4:32 PM
Anil
Anil - avatar