0
Code :- a,b,*c = 1,2,(),[] ,print(*c) output was:- ()[]
While declaring variable we can't use special symbol except underscore(_) ,so why didn't it show any error ? Plus it was able to carry two value () and[] ,why?
2 Respostas
+ 1
I see you're taking Intermediate Python. You'll get it once you learned lesson 5.1 "Tuple unpacking"
+ 1
Thank you