0
About list and string
data = ["hello world", 77, "boom", 99] how to remove all string type in data? how to remove space in data?
1 Answer
+ 1
use a loop to check each element,
discard if it's a string.
data = ["hello world", 77, "boom", 99] how to remove all string type in data? how to remove space in data?