I'm new to programming and I'm making a simple program to test. Here is the code:
list1 = [1,2,d,,t,h,7,8]
for x in list1:
if x ==
I'm trying to iterate in my list and check to see which item is a string and which is a number(I know its basic, but im new). So what would be a correct way to write this line of code. All suggestions would help