Question
A program should end if the number of the player’s lives is equal to zero. Which of the following lines of code would do that? (1 point) Responses if lives = 0: exit() if lives = 0: exit() if lives == 0: exit() if lives == 0: exit() if lives < 0: exit() if lives < 0: exit() if lives == 0: end()
Answers
There are no human answers yet.
Answered by
GPT 3.5
if lives == 0: exit()
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.