I downloaded a program to test on the laptop that only has python 2.4.4 on it and it keeps telling me syntax error on the parentheses of class main():
I have no experience with classes, so I am looking for a quick fix for this problem. How are classes different in python 2?
class main():
def __init__(self):
response=self.valid_input("New game or Load game?",["load","new"])
if response == "load":
the syntax is always on the (
part.