Created
January 12, 2021 19:14
-
-
Save CharlyWargnier/e24748901a2b3a278a142ecf5230cfa3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
st.header('test') | |
faqs = [ | |
{ "question": "Tom", "answer": "10" }, | |
{ "question": "Mark", "answer": "5" }, | |
{ "question": "Pam", "answer": "7" }, | |
{ "question": "Dick", "answer": "12" } | |
] | |
faqs | |
c19, c20 = st.beta_columns(2) | |
with c19: | |
for d in faqs: | |
st.checkbox(d['question']) | |
st.stop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment