def success(self, input1: str = "", input2: str = "", input3: str = "") -> None:
E ^
E SyntaxError: invalid syntax
No idea what is happening here..
Code:
def success(self, input1: str = "", input2: str = "", input3: str = "") -> None:
input1 = str(input1)
input2 = str(input2)
input3 = str(input3)
print(Color.BOLD + Color.GREEN + " " + Color.CHECKMARK + " " + input1 + Color.END + " " + input2 + " " + input3)
Since you're on Python 2.7, you need to back up to that syntax. Type hints are Python 3; remove them.
def success(self, input1="", input2="", input3=""):
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With