Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

All gists matching topic multilanguage

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado

timmy / 多國語系簡單計算器

0 gustos
0 bifurcaciones
1 archivos
Última actividad 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": "選擇運算方式",
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 40ms⋅

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