I have a list:   

```
my_list = [12,8,0,4,7,21,27,"O",29,3,"X","O","X","X"]

```

This list gets updated throughout the program. Every time it gets updated, I want to check to see if it contains only numbers or only strings, or both. What can I use to do that?
**I need to check all the elements in the list. Any suggestion? \*\*  

\*\*With Explanation on how the code works please.** 

Thank you all for your help.I appreciate your help.