Duplicate Question
The question on this page has been marked as a duplicate question.
Original 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 point...Asked by 100%
                co 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
page 2 of 2
            
            
        (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
page 2 of 2
Answers
                                                    There are no human answers yet.
                                            
                
                                                    There are no AI answers yet. The ability to request AI answers is coming soon!
                                            
                Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.