File size: 228 Bytes
c44d66d
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import streamlit as st
import re

collect_numbers = lambda x : [i for i in re.split(",", x) if i != ""]

numbers = st.text_input("PLease enter numbers")
st.write(collect_numbers(numbers))
st.write(type(collect_numbers(numbers)))