Ask coding questions

← Back to all posts
Do def function names matter?
Nithen (0)

I am using Python and am wondering if the name of the def functions matters or not? Please help me!

Answered by RoBlockHead (425) [earned 5 cycles]
View Answer
RoBlockHead (425)

as long as you don't have duplicate names, no. It only matters when you call the function (you just need to put the right name)

adl212 (166)

It matters when you call the function.