What does the * before the c do here? Please help :) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What does the * before the c do here? Please help :)

def myMethod(a, b, *c) #some code end

25th Feb 2018, 10:25 PM
Joss Sparkes
Joss Sparkes - avatar
3 Answers
+ 4
Perfect, I get it. Thanks Ace 👊🏼
25th Feb 2018, 10:34 PM
Joss Sparkes
Joss Sparkes - avatar
+ 1
Nice thanks, Is there any chance you could go into a little more detail? I've tried searching but I can't get my head around it?
25th Feb 2018, 10:30 PM
Joss Sparkes
Joss Sparkes - avatar
+ 1
it indicates the special character
26th Feb 2018, 3:01 PM
ShashiDhar Reddy54
ShashiDhar Reddy54 - avatar