This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
main
RosettaCodeData
/
Task
/
100-doors
/
Python
/
100-doors-5.py
3 lines
84 B
Python
Raw
Permalink
Normal View
History
Unescape
Escape
Initial data commit
2023-07-01 11:58:00 -04:00
for
i
in
range
(
1
,
101
)
:
Data update
2026-02-01 16:33:20 -08:00
print
(
f
"
Door
{
i
}
:
{
"
closed
"
if
i
*
*
0.5
%
1
else
"
open
"
}
"
)
Reference in a new issue
Copy permalink