File size: 339 Bytes
6273fcc
 
 
 
 
 
1
2
3
4
5
6
7
def evaluate_challenge(user_code):
    # Simple evaluation (more advanced logic could be added here)
    if "def" in user_code and "return" in user_code:
        return "Great! Your code structure seems correct."
    else:
        return "It looks like there's an issue with your code. Make sure to define a function and return a result."