<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: T.K.Santhosh</title>
    <description>The latest articles on Forem by T.K.Santhosh (@santhoshtk01).</description>
    <link>https://forem.com/santhoshtk01</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F896996%2F641f9fa2-c0e2-4e5e-bd76-596f1894de2c.png</url>
      <title>Forem: T.K.Santhosh</title>
      <link>https://forem.com/santhoshtk01</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/santhoshtk01"/>
    <language>en</language>
    <item>
      <title>all( ) and any( ) in Python.</title>
      <dc:creator>T.K.Santhosh</dc:creator>
      <pubDate>Sun, 24 Jul 2022 08:45:14 +0000</pubDate>
      <link>https://forem.com/santhoshtk01/all-and-any-in-python-3l6i</link>
      <guid>https://forem.com/santhoshtk01/all-and-any-in-python-3l6i</guid>
      <description>&lt;p&gt;Have you heard about the functions in the title before. If not this tutorial is for you. The &lt;code&gt;all( )&lt;/code&gt; and &lt;code&gt;any( )&lt;/code&gt; both are inbuilt functions in Python. &lt;/p&gt;

&lt;h2&gt;
  
  
  all( )
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;all( )&lt;/code&gt; returns &lt;strong&gt;true&lt;/strong&gt; if all values in the iterable are true or an empty iterable. If any of the values in the iterable is false it returns &lt;strong&gt;false&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  any( )
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;any( )&lt;/code&gt; is vice versa to the &lt;code&gt;all( )&lt;/code&gt; function. It returns &lt;strong&gt;true&lt;/strong&gt; if any of the values in the iterable is true. In case of empty or all the values in the iterable are false. It returns &lt;strong&gt;false&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqpewx347ik136r4xqcb2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqpewx347ik136r4xqcb2.png" alt="Code"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
