Before creating a league it is important to create the Teams of PyLeague; the correct execution of the application depends on some constraints on the team values:
15 <= strength_value <= 100.
3 <= defense_power, attack_power <= 40.
len(identifier) == 3.
3 <= len(name) <= 30.
At the moment there aren't other conditions I could think of.
If one or more constraints are not satisfied, a ValueError must be raised.
Before creating a league it is important to create the Teams of PyLeague; the correct execution of the application depends on some constraints on the team values:
15 <= strength_value <= 100
.3 <= defense_power, attack_power <= 40
.len(identifier) == 3
.3 <= len(name) <= 30
.At the moment there aren't other conditions I could think of. If one or more constraints are not satisfied, a
ValueError
must be raised.