Question · Python course · Module 8: Data Science

Streamlit Sidebar

How do you add an element to the sidebar in Streamlit?

Answer options

  • st.left.selectbox()
  • st.sidebar.selectbox()
  • st.menu.selectbox()
  • st.nav.selectbox()

You can check the correct answer by solving this task in the CodeWorlds game.