<?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>DEV Community: Naveen Kannan</title>
    <description>The latest articles on DEV Community by Naveen Kannan (@naveen_kannan_aca22c5e1bd).</description>
    <link>https://dev.to/naveen_kannan_aca22c5e1bd</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%2F1794263%2F5a941d58-23be-445e-be0a-09395197c839.png</url>
      <title>DEV Community: Naveen Kannan</title>
      <link>https://dev.to/naveen_kannan_aca22c5e1bd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naveen_kannan_aca22c5e1bd"/>
    <language>en</language>
    <item>
      <title>Python: print() methods</title>
      <dc:creator>Naveen Kannan</dc:creator>
      <pubDate>Wed, 17 Jul 2024 10:58:11 +0000</pubDate>
      <link>https://dev.to/naveen_kannan_aca22c5e1bd/python-print-methods-1nbe</link>
      <guid>https://dev.to/naveen_kannan_aca22c5e1bd/python-print-methods-1nbe</guid>
      <description>&lt;p&gt;Hi all,&lt;br&gt;
Today, I learned about the Python print statement. It is fascinating to know that Python has so much functionality.I will share some of the thing i learned today&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;sep&lt;/strong&gt;, the sep parameter is used with the print() function to specify the separator between multiple arguments when they are printed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;escape sequence&lt;/strong&gt; like \n (new line), \t(adds space), \b(removes previous character).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;concatenation&lt;/strong&gt; which adds two different strings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;concatenating str and int&lt;/strong&gt; which combine string and integer by converting integer into string by typecasting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Raw string&lt;/strong&gt; A raw string in Python is defined by prefixing the string literal with an 'r' or 'R'.Raw strings are often used when working with regular expressions or when dealing with paths in file systems to avoid unintended interpretation of escape sequences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Format&lt;/strong&gt; the format() method is used to format strings by replacing placeholders {} in the string with values passed as arguments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;string multiplication&lt;/strong&gt; here you can multiply strings by using the &lt;code&gt;*&lt;/code&gt;operator. This operation allows you to multiply string a specified number of times.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
      <category>newbie</category>
    </item>
  </channel>
</rss>
