Question

Marco is writing a program in which the users will be told that they cannot enter the castle if they do not have 50 armor points. Which of the following lines of code would do that?

(1 point)
Responses

if armor > 50:

print(“You cannot enter the castle!”)

if armor > 50: print(“You cannot enter the castle!”)

if armor = 50:

print(“You cannot enter the castle!”)

if armor = 50: print(“You cannot enter the castle!”)

if armor == armor:

print(“You cannot enter the castle!”)

if armor == armor: print(“You cannot enter the castle!”)

if armor < 50:

print(“You cannot enter the castle!”)

if armor < 50: print(“You cannot enter the castle!”)
Skip to navigation



















Answers

There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions