全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

登錄


全部 新建 登錄

All gists matching topic calculator

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新

timmy / 多國語系簡單計算器

0 喜歡
0 分支
1 檔案
最後活躍 9 months ago
這是一個使用 Streamlit 實現的簡單計算器,支援中英文語系,提供加法和減法運算功能,適合快速數學計算。
calculator multilanguage multilingual-tool python simple-calculator streamlit webapp
1 import streamlit as st
2
3 # 多國語系字典
4 LANGUAGES = {
5 "zh": {
6 "title": "簡單計算器",
7 "instruction": "請輸入兩個數字,選擇運算方式:",
8 "num1": "數字 1",
9 "num2": "數字 2",
10 "operation": "選擇運算方式",

timmy / 資遣費計算器 (Severance Pay Calculator)

0 喜歡
0 分支
1 檔案
最後活躍 10 months ago
此 Python 類別可根據台灣勞動法的新制或舊制規則,計算勞工應得的資遣費,適用於 HR、企業管理者或員工自我估算補償金額。
HR Taiwan calculator labor-law python severance-pay
1 class SeverancePayCalculator:
2 """
3 Legendary 級資遣費計算器,適用於新制與舊制。
4 - 自動計算應得資遣費
5 - 內建異常處理與日誌紀錄
6 """
7
8 def __init__(self, salary, years_of_service, policy="new", log=True):
9 """
10 初始化資遣費計算器
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 35ms⋅

繁體中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文