I'm reading some python code and I came across a line of code that says arr = [-1]*n where arr is an array and n is an integer. What does this notation mean? What would arr look like after this?
I feel bad asking this question here, because it feels more like a question for google, but I can't find anything on google by just googling the line of code, and I don't know the name of the notation.
print(arr).