Practice workspace

Coding lesson

A guided code task with hints, checks, and mentor feedback in a compact mobile-first learning flow.

main.py active file
500 target value
2 hints used
Ready console state

Task

A guided code task with hints, checks, and mentor feedback in a compact mobile-first learning flow.

Create player_score and assign 500.
  • Create stateDefine a variable that stores the learner score.
  • Use exact valueAssign 500 so the checker can verify the expected signal.
  • Explain intentThe mentor can review naming and system clarity after the check.
main.py Check ready
# Welcome to Adaptly Code Lab
def initialize_game():
    player_name = "Hero"
    player_score = 500
    return player_score
Expected output Passed: player_score = 500
Mentor handoff

After the check

Adaptly should turn the code result into a focused explanation and a next practice action.