import streamlit as st | |
# Title and input | |
st.title("Reverse Text") | |
input_text = st.text_input("Enter some text") | |
# Reverse the input text | |
reversed_text = input_text[::-1] | |
# Display the reversed text | |
st.write("Reversed text:", reversed_text) | |
import streamlit as st | |
# Title and input | |
st.title("Reverse Text") | |
input_text = st.text_input("Enter some text") | |
# Reverse the input text | |
reversed_text = input_text[::-1] | |
# Display the reversed text | |
st.write("Reversed text:", reversed_text) | |