test / app.py
Sasidhar's picture
Update app.py
3430dd0
raw
history blame
281 Bytes
import streamlit as st
code= "def f1(x): return str(x * 3)"
exec(code)
st.write(f1(3))
content = st_ace(language="python")
st.write(len(content.splitlines()))
exec(content)
code= "def f1(x): return str(x * 3)"
exec(code)
st.text(content)
st.write(f1(3))
st.write(test_fun(3))