Today in class I worked on making a football/soccer team on Python.
The task was to use code to add players to the team, the code was def drawPlayer(color,x,y,label). We needed to have 1 goalie, 2-4 defenders, 2-4 midfielders & 2-4 attackers(11 players).
We also had to change the color to indicate what position they were
At first I was confused but with a little bit of help I was able to complete the task. I got a bit creative & made different formations, I made a 4-3-3 & a 4-3-1-2.
No comments:
Post a Comment
Thanks for your comment.