Post

Python Developer
Python Developer@PythonDvz·
🤔🚀 Comment your answers below! 👇
Python Developer tweet media
English
31
19
99
11.2K
Earnest Codes
Earnest Codes@Earnesto037·
@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
1
0
5
627
Prem Prakash
Prem Prakash@4EverPrem·
@Python_Dv Error because left square bracket is missing. If it is print([1,2,3] * 0) then it will output []
English
0
0
2
290
Ece
Ece@eceecobn·
@Python_Dv It gives a syntax error because the brackets don’t match.
English
0
0
1
309
Biel Men
Biel Men@BielMenHaha·
@Python_Dv Error Syntax isn't correct, the list does not exist.
English
0
0
1
370
spark ✨
spark ✨@SparkABrain·
@Python_Dv If list multiplying with zero it will result in empty list []
English
0
0
0
262
Paylaş