Apresenta o seguinte erro após eu digitar d = Data(27,02,2022) e pressionar enter
d = Data(27,02,2022) Traceback (most recent call last): File "C:\Users\danie\AppData\Local\Programs\Python\Python310\lib\code.py", line 63, in runsource code = self.compile(source, filename, symbol) File "C:\Users\danie\AppData\Local\Programs\Python\Python310\lib\codeop.py", line 185, in call return maybecompile(self.compiler, source, filename, symbol) File "C:\Users\danie\AppData\Local\Programs\Python\Python310\lib\codeop.py", line 102, in maybecompile raise err1 File "C:\Users\danie\AppData\Local\Programs\Python\Python310\lib\codeop.py", line 91, in maybecompile code1 = compiler(source + "\n", filename, symbol) File "C:\Users\danie\AppData\Local\Programs\Python\Python310\lib\codeop.py", line 150, in call codeob = compile(source, filename, symbol, self.flags, True) File "", line 1 d = Data(27,02,2022) ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers