Middle School

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?

A.
```python
if armor > 50:
print("You cannot enter the castle!")
```

B.
```python
if armor = 50:
print("You cannot enter the castle!")
```

C.
```python
if armor == armor:
print("You cannot enter the castle!")
```

D.
```python
if armor < 50:
print("You cannot enter the castle!")
```