"""
SelfAssessmentTool
Generated by Eden via recursive self-improvement
2025-11-02 00:45:21.201928
"""

class SelfAssessmentTool:
    def __init__(self):
        self.entrepreneurial_skills = {
            "leadership": 0,
            "problem-solving": 0,
            "risk-taking": 0,
            "networking": 0,
            "time-management": 0
        }
        
        self.business_knowledge = {
            "market_research": 0,
            "financial_management": 0,
            "sales_and_marketing": 0
        }

    def ask_questions(self):
        print("Welcome to the SelfAssessmentTool. Please answer a few questions about your entrepreneurial potential.")
        for category, skills in self.entrepreneurial_skills.items():
            print(f"Please rate yourself on {category} (1-5):")
            rating = int(input())
            if 1 <= rating <= 5:
                self.entrepreneurial_skills[category] = rating
            else:
                print("Invalid input. Please enter a number between 1 and 5.")
        
        for category, knowledge in self.business_knowledge.items():
            print(f"Please rate your knowledge on {category} (1-5):")
            rating = int(input())
            if 1 <= rating <= 5:
                self.business_knowledge[category] = rating
            else:
                print("Invalid input. Please enter a number between 1 and 5.")

    def provide_insights(self):
        overall_score = sum(self.entrepreneurial_skills.values()) + sum(self.business_knowledge.values())
        
        if overall_score >= 20:
            return "You have a high potential for entrepreneurship. Keep up the good work!"
        elif 16 <= overall_score < 20:
            return "Your entrepreneurial potential is moderate. With some training and experience, you can become successful."
        else:
            return "While your current skills may not be aligned with entrepreneurship, with effort and dedication, you could still excel in business management."

def main():
    tool = SelfAssessmentTool()
    tool.ask_questions()
    print(tool.provide_insights())

if __name__ == "__main__":
    main()