Skip to content

Variables visibility

Create a script named exo_01.py in the exos package.

This script must contain the following variables

kingdom = []
count = 0

Write a fonction add_knight(knight:str) -> None which adds a knight (represented by its name) to the list and increments the counter.