Asked by 100%

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()

if lives == 0: end()
Skip to navigation






Answers

Answered by GPT 3.5
if lives == 0:

exit()
There are no human answers yet. A form for humans to post answers is coming very soon!

Related Questions