import streamlit as st
import datetime
beijing_temperature={25,26,27,28}
st.header("天气预告")
#st.write("当前时间:", datetime.datetime.now())
st.write("天气:", "晴")
st.write("温度:", "28")
st.write("风速:", "5")
st.write("湿度:", "45%")
col1, col2, col3 = st.columns(3)
col1.metric("温度", "28", "1.2°F")
col2.metric("风速", "5", "9 mph")
col3.metric("湿度", "45%", "86%")
x = st.slider("aaappp")
st.write(x, "squared is", x * x)
欢迎光临 精易论坛 (https://125.confly.eu.org/) | Powered by Discuz! X3.4 |