import streamlit as st st.title("Simple Input/Output App") user_input = st.text_input("Enter your text:", placeholder="Type something here...") if user_input: st.write("### Output:") st.write(f"You entered: **{user_input}**") st.write(f"Character count: {len(user_input)}") st.write(f"Word count: {len(user_input.split())}")