Just got an error on moodle saying function 'nickname' is too Long. Its strange I shouldn't be getting this error. Should I try making my function shorter?
I think you have too many if Elif and else functions or you have allocated the nickname to a variable and returning the variable instead of nickname which is what is defined by the function.
I had the same error and it comes from too many elif statements. Just change the last one to an else statement and it will fix the problem.