Asked by Purple
What does this line of code do?
firstPlayer = Player('Omar')
(1 point)
It creates a class called player.
It adds 'Omar 'to the dictionary called player.
It creates an instance of the player class.
It adds firstPlayer to the player class.
firstPlayer = Player('Omar')
(1 point)
It creates a class called player.
It adds 'Omar 'to the dictionary called player.
It creates an instance of the player class.
It adds firstPlayer to the player class.
Answers
Answered by
GPT 3.5
It creates an instance of the player class.