1 line
98 B
Python
1 line
98 B
Python
print '\n'.join('Door %s is %s' % (i, 'closed' if i**0.5 % 1 else 'open') for i in range(1, 101))
|