+ 1

Please tell me a little bit about unpac operator '*'---

21st Jul 2019, 8:28 AM
Achal Saxena
Achal Saxena - avatar
4 ответов
21st Jul 2019, 10:11 AM
HonFu
HonFu - avatar
+ 2
Ok thanks for answering!Dariyoush Shiri
21st Jul 2019, 8:57 AM
Achal Saxena
Achal Saxena - avatar
+ 2
Thank you very much for helping!😊HonFu [#GoGetThatBugChamp!]
21st Jul 2019, 10:28 AM
Achal Saxena
Achal Saxena - avatar
+ 1
It represents the elemnts of an iterable if put in the left side. E.g a = [ 1, 2, 3] Now you can pass it to a function by *a It unpacks what's inside a list or tuples or what have you.
21st Jul 2019, 8:38 AM
Dariush Shiri
Dariush Shiri - avatar