擅长:python、mysql、java
<p>下面是我将如何使用<a href="https://docs.python.org/2/library/functions.html#type" rel="nofollow">^{<cd1>}</a>来完成它。</p>
<pre><code>myList = [1,1.0,"moo"] #init the array
for i in myList:
print(type(i)) #loop and print the type
</code></pre>