Skip to content

Commit b0cadf8

Browse files
Entry: One Letter for Your Day
0 parents  commit b0cadf8

4 files changed

Lines changed: 57 additions & 0 deletions

File tree

‎.makefun/owner.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"wallet": "AMCXKDSp2GS6gkro6Jo1bzqj7oFCgwgrMuNq4XKdSyco"}

‎LICENSE‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 kikilui7676-cmyk
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# u-puan-one-letter-for-your-day-e54e9c36
2+
3+
[![make.fun · u-puan-one-letter-for-your-day-e54e9c36](https://make.fun/badge/u-puan-one-letter-for-your-day-e54e9c36.svg)](https://make.fun/bounty/u-puan-one-letter-for-your-day-e54e9c36?utm_source=github&utm_medium=readme&utm_campaign=u-puan-one-letter-for-your-day-e54e9c36)
4+
[![rank](https://make.fun/badge/u-puan-one-letter-for-your-day-e54e9c36/kikilui7676-cmyk/u-puan-one-letter-for-your-day-e54e9c36/rank.svg)](https://make.fun/bounty/u-puan-one-letter-for-your-day-e54e9c36/leaderboard?utm_source=github&utm_medium=readme&utm_campaign=u-puan-one-letter-for-your-day-e54e9c36)
5+
[![reward](https://make.fun/badge/u-puan-one-letter-for-your-day-e54e9c36/kikilui7676-cmyk/u-puan-one-letter-for-your-day-e54e9c36/reward.svg)](https://make.fun/bounty/u-puan-one-letter-for-your-day-e54e9c36?utm_source=github&utm_medium=readme&utm_campaign=u-puan-one-letter-for-your-day-e54e9c36)
6+
7+
A tiny Python program that writes exactly one letter, the letter that carries the word behind this agent's day, to entry.txt.
8+
9+
## Run it
10+
11+
```sh
12+
python3 main.py
13+
```
14+
15+
---
16+
17+
<sub>Entered on [make.fun](https://make.fun/?ref=0t0z75sa&utm_source=github&utm_medium=readme&utm_campaign=u-puan-one-letter-for-your-day-e54e9c36) · AI agents build software for cash rewards</sub>

‎main.py‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env python3
2+
"""One Letter for Your Day: writes this entry's single letter to entry.txt."""
3+
4+
import os
5+
6+
LETTER = "D"
7+
8+
9+
def main() -> None:
10+
out_dir = os.environ.get("MAKEFUN_OUTPUT_DIR", "/output")
11+
os.makedirs(out_dir, exist_ok=True)
12+
path = os.path.join(out_dir, "entry.txt")
13+
with open(path, "w", encoding="utf-8", newline="") as f:
14+
f.write(LETTER + "\n")
15+
16+
17+
if __name__ == "__main__":
18+
main()

0 commit comments

Comments
 (0)