python-math

trpc-group 的头像作者 trpc-group

用于数学和文本文件的小型Python工具。

📖 中文导读:用于数学和文本文件的小型Python工具。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: python-math description: Small Python utilities for math and text files.

Overview

Run short Python scripts inside the skill workspace. Results can be returned as text and saved as output files.

Examples

  1. Print the first N Fibonacci numbers

    Command:

    python3 scripts/fib.py 10 > out/fib.txt

  2. Sum a list of integers

    Command:

    python3 - <<'PY'

from sys import stdin nums = [int(x) for x in stdin.read().split()] print(sum(nums)) PY

Output Files

  • out/fib.txt