d2259ea
1
2
3
4
5
6
7
8
import streamlit as st st.title("我的第一個 Streamlit App") name = st.text_input("請輸入名字") if name: st.write(f"你好,{name}!")