2 lines
84 B
Python
2 lines
84 B
Python
for i in range(1, 101):
|
|
print(f"Door {i}:{"closed" if i**0.5 % 1 else "open"}")
|