|
|
|
|
|
by Joker_vD
801 days ago
|
|
Well, Python is not Raku, so while it could be possible to make "[expr1, expr2, ..., exprN] * exprM" to mean "[*(expr1), *(expr2), ..., *(exprN) for _ in range(exprM)]", it would never happen. Besides, that still doesn't help with the case of x = function_that_returns_a_list()
x = x * 4
where there is no literal list expression. |
|