C++ Playground - we don’t need : def self.negate(x) : Online Interpreter, Compiler & Editor | Sololearn