0

Why lenght of k is 3 in the below code please explain

https://code.sololearn.com/cozW655hSMC4/?ref=app

31st May 2020, 1:56 PM
Teja Swaroop
Teja Swaroop - avatar
6 Réponses
+ 5
Please consult the Python lesson below: https://www.sololearn.com/learn/Python/2484/ The asterisk allows you to pass an arbitrary number of values to a variable.
31st May 2020, 2:01 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
Teja Swaroop a is not a collection, it has no length
31st May 2020, 2:10 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Why the output of k is[3,4,5]
31st May 2020, 1:59 PM
Teja Swaroop
Teja Swaroop - avatar
0
Why it is showing error for lenght of a
31st May 2020, 2:06 PM
Teja Swaroop
Teja Swaroop - avatar