Skip to content

Instantly share code, notes, and snippets.

@CharlyWargnier
Created January 12, 2021 19:14
Show Gist options
  • Save CharlyWargnier/e24748901a2b3a278a142ecf5230cfa3 to your computer and use it in GitHub Desktop.
Save CharlyWargnier/e24748901a2b3a278a142ecf5230cfa3 to your computer and use it in GitHub Desktop.
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