Ask coding questions

← Back to all posts
syntax error on my def function?
RileyMears

Its just a normal function but its saying its a syntax error. the code is(no quotation marks) "def loadfunct:"

Answered by lightningrock [earned 5 cycles]
View Answer
Voters
RileyMears
Comments
hotnewtop
lightningrock

You forgot the ()

It should be:

RileyMears

@lightningrock thanks, that was driving me crazy