Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,6 +1,2 @@
|
|||
for i in range(1, 101):
|
||||
if i**0.5 % 1:
|
||||
state='closed'
|
||||
else:
|
||||
state='open'
|
||||
print("Door {}:{}".format(i, state))
|
||||
print(f"Door {i}:{"closed" if i**0.5 % 1 else "open"}")
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
for i in range(1,11): print("Door %s is open" % i**2)
|
||||
for i in range(1,11): print(f"Door {i**2} is open")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue