How to have a input box and output box using streamlit

Ask the community or our support engineers for answers to questions.

Hello Experts,

I am new to streamlit, and currently in a phase to explore it. While trying to create a simple app, which will have the Input field for user and an output field. Can someone guide me, how this can be done.
Thanks in advance to all the masters of streamlit.

A simple implementation is:

import streamlit as st

input = st.text_area("Enter Input Data :")

output = input.upper() # final_result_from_processing_the_input

st.text_area(label="Output Data:", value=output, height=350)

Does that answer your question?