← 返回
未分类

Cn Tip Calculator

Calculate tips and split bills. Support custom tip percentages, bill splitting, and currency formatting. Pure Python standard library, no API key required.
计算小费与分账,支持自定义小费比例、分账及货币格式化,纯 Python 标准库,无需 API 密钥。
freedompixels freedompixels 来源
未分类 clawhub v1.0.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 327
下载
💾 0
安装
2
版本
#latest

概述

Tip Calculator

Calculate tips and split bills at restaurants.

Features

  • Calculate tip amount from bill total and percentage
  • Split bills among multiple people
  • Common tip percentages (15%, 18%, 20%, 25%)
  • Custom tip percentage support
  • Pure Python, no external dependencies

Usage

python3 scripts/tip_calculator.py --bill 85.50 --tip 18
python3 scripts/tip_calculator.py --bill 120.00 --tip 20 --split 4

Output

Returns tip amount, total, and per-person amount when splitting.


出品: AISoBrand|爱索品牌 — AI搜索优化工具

官网: https://aisobrand.com

免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-06-07 12:50
  • v1.0.0
    2026-05-21 14:18 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

life-service

Sonoscli

steipete
控制Sonos音箱(发现/状态/播放/音量/分组)
★ 57 📥 85,251
life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 244 📥 30,709
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 459 📥 229,581