title: #How to Filter the palindrome numbers in the given tuple and save it in the tuple
body: <p>How to Filter the palindrome numbers in the given tuple and save it in the tuple ?</p>
  <p>My code :</p>
  <pre><code>w = (10,11,12,21,22,101,123,111,152)
  
  for i in w:
      if i[:]==i[-1:]:
          print(i)
  
  Error : TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-143-b2b3cfdef377&gt; in &lt;module&gt;
        7 
        8 for i in w:
  ----&gt; 9     if i[:]==i[-1:]:
       10         print(i)
  
  TypeError: 'int' object is not subscriptable
  </code></pre>