Update app.py
Browse files27 unmodified lines28293031323315 unmodified lines4950515227 unmodified linesnum_set.append(temp+temp-1)temp = temp + 1return(num_set)st.markdown("<h3 style='text-align:center; font-size:24px;'>Mathematical and String Operations</h3>", unsafe_allow_html=True)15 unmodified linesif all_data:result = start_iteration(first_num)st.success(result)27 unmodified lines2829303132333435363738394015 unmodified lines565758596061626364656627 unmodified linesnum_set.append(temp+temp-1)temp = temp + 1return(num_set)def even_index(str1):str_lst = []for i in range(len(str1)):if i % 2 == 0 :str_lst.append(str1[i])return(str_lst)st.markdown("<h3 style='text-align:center; font-size:24px;'>Mathematical and String Operations</h3>", unsafe_allow_html=True)15 unmodified linesif all_data:result = start_iteration(first_num)st.success(result)if radio_bar == description3 :st.markdown("<h6 style='text-align:center; font-size:16px;'>"+description3+"</h6>", unsafe_allow_html=True)str1 = st.text_input(label="Enter the string",value=0)all_data = st.button("Show result")if all_data:result = even_index(str1)st.success(result)
app.py+15-1