Post

@Python_Dv The code print(1,2,3] * 0) will result in a SyntaxError because the expression [1, 2, 3] is incorrectly written, and Python does not support multiplying a list-like object that has unbalanced brackets by an integer.
Syntax Error: The input 1,2,3] is not
English

@Python_Dv Error because left square bracket is missing. If it is
print([1,2,3] * 0)
then it will output []
English

@Python_Dv D.
The code is incorrect. The left square bracket is missing.
English

@Python_Dv If list multiplying with zero it will result in empty list []
English



























