March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
|
|
@ -1,4 +1,6 @@
|
|||
for i in list(range(1, 101)):
|
||||
if i**0.5 % 1: state='open'
|
||||
else: state='close'
|
||||
print ("Door {}:{}".format(i, state))
|
||||
for i in range(1, 101):
|
||||
if i**0.5 % 1:
|
||||
state='open'
|
||||
else:
|
||||
state='close'
|
||||
print("Door {}:{}".format(i, state))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue