Skip to content

Commit 41b514f

Browse files
committed
Create Control flow.md
1 parent 40113c8 commit 41b514f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Control flow.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This code seems to be using Streamlit, a Python library for creating web apps.
2+
3+
st.stop()
4+
5+
This stops the execution of the script immediately.
6+
7+
st.experimental_rerun()
8+
9+
This reruns the script immediately.
10+
11+
with st.form(key='my_form')
12+
This creates a form with a key 'my_form'.
13+
14+
username = st.text_input('Username')
15+
This creates a text input field for entering a username.
16+
17+
password = st.text_input('Password')
18+
This creates a text input field for entering a password.
19+
20+
st.form_submit_button('Login')`
21+
This creates a submit button for the form, typically used for logging in.

0 commit comments

Comments
 (0)