<?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: Kumar Tech</title>
    <description>The latest articles on DEV Community by Kumar Tech (@kumar_tech_6d30f8ab1ef22c).</description>
    <link>https://dev.to/kumar_tech_6d30f8ab1ef22c</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%2F1753221%2F8d99ea2c-3ba7-4526-b1ce-3bf73d2ee4dc.png</url>
      <title>DEV Community: Kumar Tech</title>
      <link>https://dev.to/kumar_tech_6d30f8ab1ef22c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kumar_tech_6d30f8ab1ef22c"/>
    <language>en</language>
    <item>
      <title>Python print() method</title>
      <dc:creator>Kumar Tech</dc:creator>
      <pubDate>Tue, 09 Jul 2024 11:06:20 +0000</pubDate>
      <link>https://dev.to/kumar_tech_6d30f8ab1ef22c/python-print-method-2058</link>
      <guid>https://dev.to/kumar_tech_6d30f8ab1ef22c/python-print-method-2058</guid>
      <description>&lt;p&gt;Today we are going to see python print statement usage.&lt;br&gt;
Print is used to print the output in the console.&lt;/p&gt;

&lt;h1&gt;
  
  
  Printing a simple string
&lt;/h1&gt;

&lt;p&gt;print("Hello, World!")  # Output: Hello, World!&lt;/p&gt;

&lt;h1&gt;
  
  
  Printing numbers
&lt;/h1&gt;

&lt;p&gt;print(123)              # Output: 123&lt;br&gt;
print(3.14)             # Output: 3.14&lt;/p&gt;

&lt;h1&gt;
  
  
  Printing multiple values
&lt;/h1&gt;

&lt;p&gt;print("The answer is", 42)  # Output: The answer is 42&lt;/p&gt;

&lt;h1&gt;
  
  
  Using formatted strings (f-strings)
&lt;/h1&gt;

&lt;p&gt;name = "Alice"&lt;br&gt;
age = 30&lt;br&gt;
print(f"My name is {name} and I am {age} years old.")  # Output: My name is Alice and I am 30 years old.&lt;/p&gt;

&lt;h1&gt;
  
  
  Printing with different separators and end characters
&lt;/h1&gt;

&lt;p&gt;print("Python", "is", "fun", sep="-")  # Output: Python-is-fun&lt;br&gt;
print("This is the first line.", end=" ")  # Output: This is the first line. This is the second line.&lt;br&gt;
print("This is the second line.")&lt;/p&gt;

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