<?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: David Onuta</title>
    <description>The latest articles on DEV Community by David Onuta (@ogagaonuta).</description>
    <link>https://dev.to/ogagaonuta</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1258102%2F975bf79e-27d7-4a91-ba15-acb16e0a3760.png</url>
      <title>DEV Community: David Onuta</title>
      <link>https://dev.to/ogagaonuta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ogagaonuta"/>
    <language>en</language>
    <item>
      <title>Working with Git &amp; GitHub</title>
      <dc:creator>David Onuta</dc:creator>
      <pubDate>Tue, 09 Jan 2024 15:51:53 +0000</pubDate>
      <link>https://dev.to/ogagaonuta/working-with-git-github-4m3</link>
      <guid>https://dev.to/ogagaonuta/working-with-git-github-4m3</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qHv8milp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1704818868587/555f7ab6-c8cf-4285-b292-d174b69a6bed.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qHv8milp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1704818868587/555f7ab6-c8cf-4285-b292-d174b69a6bed.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp" alt="Working with Git &amp;amp; GitHub" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In this article, readers will learn how to use Git and GitHub to improve their workflow.&lt;/p&gt;

&lt;p&gt;At different points in a creator's life, there could be a series of undoing and redoing. The idea of version control (tracking and managing changes to a file) can help with this, as the creator adds/removes parts of their program. Being conversant with &lt;strong&gt;Git&lt;/strong&gt; and &lt;strong&gt;GitHub&lt;/strong&gt; will make this possible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of Content
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Prerequisite&lt;/li&gt;
&lt;li&gt;What is Git?&lt;/li&gt;
&lt;li&gt;What is GitHub?&lt;/li&gt;
&lt;li&gt;Creating a GitHub Repository&lt;/li&gt;
&lt;li&gt;
Git first steps

&lt;ul&gt;
&lt;li&gt;Setting your email and name&lt;/li&gt;
&lt;li&gt;Initialising/Cloning a repository&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
GitHub Desktop first steps

&lt;ul&gt;
&lt;li&gt;Creating/Cloning a repository&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Creating a &lt;code&gt;README.md&lt;/code&gt; file&lt;/li&gt;
&lt;li&gt;
Understanding Basic Commands (&lt;code&gt;add&lt;/code&gt;, &lt;code&gt;commit&lt;/code&gt;, and &lt;code&gt;push&lt;/code&gt;)

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;add&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;commit&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;push&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
Conclusion

&lt;ul&gt;
&lt;li&gt;Resources&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prerequisite &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;To follow along with this article;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;create an account on &lt;a href="https://github.com/"&gt;&lt;strong&gt;GitHub&lt;/strong&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;download and install

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://git-scm.com/download"&gt;Git&lt;/a&gt;, if you prefer to use a CLI (Command Line Interface), or&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://desktop.github.com/"&gt;GitHub Desktop&lt;/a&gt;, if you prefer to use a GUI (Graphical User Interface).&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Git? &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Git&lt;/strong&gt; is a &lt;em&gt;version control system&lt;/em&gt; (a system that helps users refer to previous versions of their work, if need be). It is a software that tracks changes made to files. It runs on the command line and is mostly preferred by creators who work on a CLI like Software Engineers, Web Developers, System Administrators, and Programmers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is GitHub? &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt; is a website that houses &lt;em&gt;repositories&lt;/em&gt; (a top-level folder structure containing sub-folders and files). The repositories are stored remotely (on the website), so, users will need a means to work on them locally (on their computers). This is where &lt;em&gt;Git&lt;/em&gt; (a CLI) and the &lt;em&gt;GitHub desktop application&lt;/em&gt; (a GUI) come into play. The desktop application is usually preferred by non-programmers.&lt;/p&gt;

&lt;p&gt;GitHub also allows for collaboration, which makes it useful for networking, and for team members to work together.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating a GitHub Repository &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Click on the button and follow the steps to create a GitHub repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://app.tango.us/app/workflow/Creating-a-Repository-on-GitHub-90a4a9d2bf7a469abb606b90f3a2bb96" class="ltag_cta ltag_cta--branded"&gt;Creating a GitHub Repository&lt;/a&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Git first steps &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Git&lt;/em&gt; is a software installed and operated locally. You need a way for it to track the remote repository you're currently working with to upload your files to the correct location. To do this, you set your email and name, after which you choose the remote repository to track by initialising or cloning it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Setting your email and name &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To set up your email and name on Git to match with your GitHub account, run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git config [--global] user.email "user@email.com"
git config [--global] user.name "first_name last_name"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The command in the square brackets is optional and is used to set the email and name globally on your machine. Omitting the &lt;code&gt;--global&lt;/code&gt; option sets the email and name for only the current repository.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The optional commands are to be run without the square brackets.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Initialising/Cloning a repository &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To create a local repository to track the remote repository, you can either initialise or clone it. To initialise a folder on your machine as a Git repository means to point it to a remote repository. Navigate to the folder you wish to initialise and run this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git init

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.loom.com/share/4e440cdd9da14cf196af142a490f1757?sid=a8b60a51-ed44-4ffd-8cdc-1d144fdc58f4" class="ltag_cta ltag_cta--branded"&gt;How to initialise a repository on the terminal&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;To clone a remote repository means to copy the folder structure to your local machine. You would need the remote repository URL to clone it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/owner/repo.git

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.loom.com/share/d1eb5b132cff493e9629f99eff5a6e9a?sid=d34e6df0-3c6d-4197-aebf-424479dda7d3" class="ltag_cta ltag_cta--branded"&gt;How to clone a repository on the terminal&lt;/a&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Desktop first steps &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;GitHub Desktop provides users with a GUI, giving non-programmers a way to access GitHub's features. Launch the GitHub Desktop app and sign in to your account.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.loom.com/share/074bce81681c48318d3a60e48e38edb3?sid=d514592b-7de9-4041-8ea2-d0dce4b31fa7" class="ltag_cta ltag_cta--branded"&gt;How to configure GitHub Desktop&lt;/a&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  Creating/Cloning a repository &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;After signing in to your account on the GitHub Desktop application, creating and cloning a repository can be done with the click of a button.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Creating a repository&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://www.loom.com/share/aad2156367fa4d44bbcc21e62ef5c194?sid=df22b463-12a3-4d17-b78e-d322b2cfcfe6" class="ltag_cta ltag_cta--branded"&gt;How to create a repository on GitHub Desktop&lt;/a&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cloning a repository&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://www.loom.com/share/a07e6fa7cc224abb8528e6e4099e9f75?sid=5373a9cc-336f-4592-a995-cb1011b8e7de" class="ltag_cta ltag_cta--branded"&gt;How to clone a repository on GitHub Desktop&lt;/a&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating a &lt;code&gt;README.md&lt;/code&gt; file &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;A &lt;code&gt;README.md&lt;/code&gt; file is a file written in &lt;em&gt;Markdown&lt;/em&gt; syntax and is used to give information about a repository. Upon creating a repository, the option to initialise a &lt;code&gt;README.md&lt;/code&gt; file is available, but it can also be created locally. Creating this file is the same as creating any other file but with the name &lt;code&gt;README&lt;/code&gt; and the file extension &lt;code&gt;.md&lt;/code&gt;. The name of this file is by convention, as the repository will use any other markdown file for information about the repository if the &lt;code&gt;README.md&lt;/code&gt; file is unavailable.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To learn how to write in markdown syntax, check out this &lt;a href="https://dev.to/ogagaonuta/how-to-write-markdown-3pj0"&gt;article&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Understanding Basic Commands (&lt;code&gt;add&lt;/code&gt;, &lt;code&gt;commit&lt;/code&gt;, and &lt;code&gt;push&lt;/code&gt;) &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;After creating/initialising/cloning a repository, you can now create files, make edits, and continue being creative. These files should communicate with GitHub to make use of the version control system, and also for collaboration. There are three basic commands used for this; &lt;code&gt;add&lt;/code&gt;, &lt;code&gt;commit&lt;/code&gt;, and &lt;code&gt;push&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;These operations are available through &lt;em&gt;point&lt;/em&gt; and &lt;em&gt;click&lt;/em&gt; on the GitHub Desktop application. Git users will have to prefix these commands with the &lt;code&gt;git&lt;/code&gt; command.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;code&gt;add&lt;/code&gt; &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;add&lt;/code&gt; command is the first step and is used to add file(s) that will be included in a project's history.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# To add selected files
git add file_1 file_2

# To add all files
git add .

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;code&gt;commit&lt;/code&gt; &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;commit&lt;/code&gt; command is the second step and is used to record the changes made to the files that have been added.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git commit -m "A simple descriptive message"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;code&gt;push&lt;/code&gt; &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;push&lt;/code&gt; command is used to update (publish) the remote repository with all changes made to the local repository.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.loom.com/share/9311728493df4a70bfd598ba84b321d8?sid=def0b4e8-0f99-4392-8531-4f0be1e9962c" class="ltag_cta ltag_cta--branded"&gt;How to add, commit, and push on the terminal&lt;/a&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;As you have seen, using &lt;strong&gt;Git&lt;/strong&gt; and &lt;strong&gt;GitHub&lt;/strong&gt; is easy and fun. From &lt;em&gt;creating a GitHub account&lt;/em&gt;, &lt;em&gt;creating a repository&lt;/em&gt;, &lt;em&gt;and initialising or cloning&lt;/em&gt; &lt;em&gt;a repository&lt;/em&gt;, to the basic &lt;code&gt;add&lt;/code&gt;, &lt;code&gt;commit&lt;/code&gt;, and &lt;code&gt;push&lt;/code&gt; commands, you should now be comfortable using version control with your projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  Resources &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;For more reading, you can check these out:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://docs.github.com/en/get-started/using-git/about-git"&gt;https://docs.github.com/en/get-started/using-git/about-git&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://docs.github.com/en/desktop/overview/getting-started-with-github-desktop"&gt;https://docs.github.com/en/desktop/overview/getting-started-with-github-desktop&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/scottw/explain-shell-5blp-temp-slug-1275153"&gt;https://explainshell.com/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Visuals have been created using &lt;a href="https://app.tango.us/"&gt;Tango&lt;/a&gt; and &lt;a href="https://www.loom.com/"&gt;Loom&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>versioncontrol</category>
      <category>repository</category>
    </item>
    <item>
      <title>How to Write Markdown</title>
      <dc:creator>David Onuta</dc:creator>
      <pubDate>Wed, 29 Nov 2023 14:13:15 +0000</pubDate>
      <link>https://dev.to/ogagaonuta/how-to-write-markdown-3pj0</link>
      <guid>https://dev.to/ogagaonuta/how-to-write-markdown-3pj0</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pOEHKj-M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701264135486/4d91731b-4661-41a0-81bb-5928664485ff.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pOEHKj-M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701264135486/4d91731b-4661-41a0-81bb-5928664485ff.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp" alt="Markdown_HowTo" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In this article, readers will learn how to write in Markdown and use it in formatting their documents.&lt;/p&gt;

&lt;p&gt;A different range of creators can make use of Markdown. For software developers, the file with the information about your projects, like the &lt;code&gt;README.md&lt;/code&gt; file is written in Markdown. Technical and content writers can also use Markdown to write documentation, blogs, and other write-ups.&lt;/p&gt;

&lt;p&gt;This article helps you understand how to write in Markdown.&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of Content
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Prerequisite&lt;/li&gt;
&lt;li&gt;What is Markdown?&lt;/li&gt;
&lt;li&gt;
Formatting in Markdown

&lt;ul&gt;
&lt;li&gt;Headers&lt;/li&gt;
&lt;li&gt;Paragraphs&lt;/li&gt;
&lt;li&gt;Bold&lt;/li&gt;
&lt;li&gt;Italics&lt;/li&gt;
&lt;li&gt;
Lists

&lt;ul&gt;
&lt;li&gt;Ordered Lists&lt;/li&gt;
&lt;li&gt;Unordered Lists&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
Code

&lt;ul&gt;
&lt;li&gt;Inline Code&lt;/li&gt;
&lt;li&gt;Multi-line Code&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Blockquotes&lt;/li&gt;
&lt;li&gt;
Links

&lt;ul&gt;
&lt;li&gt;Inline Links&lt;/li&gt;
&lt;li&gt;Reference Links&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
Images

&lt;ul&gt;
&lt;li&gt;Inline Images&lt;/li&gt;
&lt;li&gt;Reference Images&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Table&lt;/li&gt;
&lt;li&gt;The "Escape Character"&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
Conclusion

&lt;ul&gt;
&lt;li&gt;Resources&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prerequisite &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;To follow along with this article;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;download and install a text editor able to render Markdown, like &lt;a href="https://code.visualstudio.com/download"&gt;&lt;em&gt;Visual&lt;/em&gt; &lt;em&gt;Studio Code&lt;/em&gt;&lt;/a&gt;, or&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;use an online editor, like &lt;a href="https://dillinger.io/"&gt;&lt;em&gt;Dillinger&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Markdown? &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Markdown&lt;/strong&gt; is a way to write and format content for the web. It uses special syntax to format documents. Writing in Markdown differs from other applications that use &lt;strong&gt;GUI&lt;/strong&gt; (Graphical User Interface) to highlight and format text, like &lt;em&gt;Microsoft Word&lt;/em&gt;, and &lt;em&gt;Google Docs&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Some text editors provide &lt;strong&gt;WYSIWYG&lt;/strong&gt; &lt;em&gt;(What You See Is What You Get)&lt;/em&gt; features that render and display the Markdown formatted text as you edit them, like &lt;em&gt;Visual Studio&lt;/em&gt; &lt;em&gt;Code, Notepad++, Ghostwriter, etc&lt;/em&gt;. These text editors might require an extension/plugin to display Markdown.&lt;/p&gt;

&lt;p&gt;The file extension for markdown is &lt;em&gt;.md&lt;/em&gt; or &lt;em&gt;.markdown&lt;/em&gt;. Say you have a file named &lt;code&gt;my_file&lt;/code&gt;, to make it a Markdown file, you save it as &lt;code&gt;my_file.md&lt;/code&gt; or &lt;code&gt;my_file.markdown&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Markdown was created by &lt;strong&gt;John Gruber&lt;/strong&gt; in &lt;strong&gt;2004&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Formatting in Markdown &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Special characters are used to format Markdown files, &lt;em&gt;i.e.&lt;/em&gt; making text &lt;em&gt;italics&lt;/em&gt;, &lt;strong&gt;bold&lt;/strong&gt; , and so on. These special characters are highlighted below:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TO SPARK YOUR INTEREST, THIS ARTICLE WAS WRITTEN IN MARKDOWN.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; The rendered Markdown is shown after every code block.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Headers &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To indicate a &lt;em&gt;header&lt;/em&gt; in Markdown, begin the line with a &lt;em&gt;hash&lt;/em&gt; (&lt;code&gt;#&lt;/code&gt;) sign. There are six levels of headers in Markdown, and the number of &lt;code&gt;#&lt;/code&gt; signs beginning the line marks the level of the header. Each header must be separated with blank lines.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gh"&gt;# Header LEVEL 1&lt;/span&gt;

&lt;span class="gu"&gt;## Header LEVEL 2&lt;/span&gt;

&lt;span class="gu"&gt;### Header LEVEL 3&lt;/span&gt;

&lt;span class="gu"&gt;#### Header LEVEL 4&lt;/span&gt;

&lt;span class="gu"&gt;##### Header LEVEL 5&lt;/span&gt;

&lt;span class="gu"&gt;###### Header LEVEL 6&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---Izi2o9r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261863709/2e72ef9f-60da-4a66-88b2-5337c2863c8e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---Izi2o9r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261863709/2e72ef9f-60da-4a66-88b2-5337c2863c8e.png" alt="Markdown_Header" width="800" height="236"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Paragraphs &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To write &lt;em&gt;paragraphs&lt;/em&gt; in Markdown, you separate each paragraph with a &lt;em&gt;blank line&lt;/em&gt;. Some Markdown renderers require that you end each paragraph with &lt;em&gt;two spaces&lt;/em&gt; (&lt;code&gt;[][]&lt;/code&gt;) to mark the end of the paragraph, and to also indicate blank lines, like &lt;em&gt;GitHub Flavored Markdown&lt;/em&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;This is a paragraph,
and this is part of the same paragraph.
[BLANK LINE]
This is another paragraph.&lt;span class="p"&gt;[][]&lt;/span&gt;
This is yet another paragraph.&lt;span class="p"&gt;[][]&lt;/span&gt;
&lt;span class="p"&gt;[][]&lt;/span&gt;
And this is also another paragraph.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--h9mD1uO1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261893923/4c52dc38-8aa9-47bd-870e-0c9d434c84cd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h9mD1uO1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261893923/4c52dc38-8aa9-47bd-870e-0c9d434c84cd.png" alt="Markdown_Paragraph" width="735" height="142"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;[]&lt;/code&gt; in the example code above represents a &lt;strong&gt;space&lt;/strong&gt; from pressing the " &lt;strong&gt;SPACEBAR&lt;/strong&gt;" key&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Bold &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To &lt;strong&gt;bolden&lt;/strong&gt; a text, surround the text with &lt;strong&gt;two asterisks&lt;/strong&gt; (&lt;code&gt;**&lt;/code&gt;) or*&lt;em&gt;two underscores&lt;/em&gt;* (&lt;code&gt;__&lt;/code&gt;). Be consistent with whichever you choose.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Surround text with &lt;span class="gs"&gt;**two asterisks**&lt;/span&gt; or __two underscores__ to format as bold.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--b91KS58x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261959417/844531c3-1721-481a-9706-f15915fe04ff.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--b91KS58x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261959417/844531c3-1721-481a-9706-f15915fe04ff.png" alt="Markdown_Bold" width="609" height="35"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Italics &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;To display text as &lt;em&gt;italics&lt;/em&gt;, surround the text with &lt;em&gt;one asterisk&lt;/em&gt; (&lt;code&gt;*&lt;/code&gt;) or &lt;em&gt;one underscore&lt;/em&gt; (&lt;code&gt;_&lt;/code&gt;). Whichever you decide to use, try to be consistent with it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Surround text with &lt;span class="ge"&gt;*asterisk*&lt;/span&gt; or _underscore_ to format as italics.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yphHjs6f--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261999653/182d59ba-b875-4db3-b232-a3c41f1a6bef.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yphHjs6f--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701261999653/182d59ba-b875-4db3-b232-a3c41f1a6bef.png" alt="Markdown_Italics" width="607" height="39"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Lists &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Lists&lt;/em&gt; are used to present text in steps. They are usually separated by blank lines for readability sake. There are two main types of lists as explained below:&lt;/p&gt;

&lt;h4&gt;
  
  
  Ordered Lists &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Lists are presented in an order when the next step cannot be done before the previous step. For example, to put on your trainers when you want to go for a run, you don't wear your shoes before wearing your socks, it has to be done the other way around. To indicate an ordered list, begin each line with a number (&lt;code&gt;1, 2, 3, etc&lt;/code&gt;) and a period (&lt;code&gt;.&lt;/code&gt;) sign.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Follow this routine when exercising:
&lt;span class="p"&gt;
1.&lt;/span&gt; Warm-up
&lt;span class="p"&gt;2.&lt;/span&gt; Low-intensity exercises
&lt;span class="p"&gt;3.&lt;/span&gt; High-intensity exercises
&lt;span class="p"&gt;4.&lt;/span&gt; Warm-down

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZOXKmNj7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262032903/50b56627-e621-43ea-ab61-6ab59b018c14.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZOXKmNj7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262032903/50b56627-e621-43ea-ab61-6ab59b018c14.png" alt="Markdown_Ordered_Lists" width="610" height="142"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Unordered Lists &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Lists that don't require any particular order are labelled &lt;strong&gt;unordered&lt;/strong&gt;. For example, when shopping for groceries, you can decide to get the third, or seventh item on the list provided you are on the aisle where the item is displayed before picking up the first item. To display an unordered list, begin each line with an &lt;em&gt;asterisk&lt;/em&gt; (&lt;code&gt;*&lt;/code&gt;), a &lt;em&gt;dash&lt;/em&gt; (&lt;code&gt;-&lt;/code&gt;), or a &lt;em&gt;plus sign&lt;/em&gt; (&lt;code&gt;+&lt;/code&gt;).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;REMEMBER&lt;/strong&gt; : Be consistent with whichever format you choose.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Provisions List
&lt;span class="p"&gt;
*&lt;/span&gt; Peanut Butter
&lt;span class="p"&gt;*&lt;/span&gt; Cookies
&lt;span class="p"&gt;*&lt;/span&gt; Cereal

Body Care List
&lt;span class="p"&gt;
-&lt;/span&gt; Hair Cream
&lt;span class="p"&gt;-&lt;/span&gt; Body Cream
&lt;span class="p"&gt;-&lt;/span&gt; Deodorant

Cloth List
&lt;span class="p"&gt;
+&lt;/span&gt; Shirts
&lt;span class="p"&gt;+&lt;/span&gt; Jeans
&lt;span class="p"&gt;+&lt;/span&gt; Socks

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---4W712Yn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262099939/580e239e-7609-4cb6-9da6-6f8a7f9b62e0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---4W712Yn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262099939/580e239e-7609-4cb6-9da6-6f8a7f9b62e0.png" alt="Markdown_Unordered_Lists" width="554" height="326"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lists can also be nested in lists. To do this, indent the nested list by at least &lt;em&gt;4 spaces&lt;/em&gt; or &lt;em&gt;1 tab&lt;/em&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;How to:
&lt;span class="p"&gt;
*&lt;/span&gt; Develop a program
&lt;span class="p"&gt;    1.&lt;/span&gt; Think out the algorithm
&lt;span class="p"&gt;    2.&lt;/span&gt; Write the pseudocode
&lt;span class="p"&gt;    3.&lt;/span&gt; Code the program
&lt;span class="p"&gt;
*&lt;/span&gt; Prepare a cereal
&lt;span class="p"&gt;    *&lt;/span&gt; Get the cereal
&lt;span class="p"&gt;    *&lt;/span&gt; Get the bowl and cutlery
&lt;span class="p"&gt;    *&lt;/span&gt; Pour the milk
&lt;span class="p"&gt;    *&lt;/span&gt; Pour the cereal
&lt;span class="p"&gt;    *&lt;/span&gt; Add sweeteners

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6V05o4JD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262155882/d8bf8176-6462-4dff-b7f0-a7d694455ff0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6V05o4JD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262155882/d8bf8176-6462-4dff-b7f0-a7d694455ff0.png" alt="Markdown_Nested_Lists" width="768" height="305"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note how you can get the bowl and cutlery before the cereal, or pour the cereal before the milk, for unordered lists.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Code &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;Code&lt;/code&gt; is highlighted and formatted differently from every other text. It is mainly used to display programming languages, but can also be used to display special text. The two ways to display text as code are shown below:&lt;/p&gt;

&lt;h4&gt;
  
  
  Inline Code &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;To display &lt;code&gt;code&lt;/code&gt; inline, that is, without breaking the flow of the document, surround the code with &lt;em&gt;backticks&lt;/em&gt; (&lt;code&gt;`&lt;/code&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;To display output in Python, use the &lt;span class="sb"&gt;`print()`&lt;/span&gt; function.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u4Kkgncf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262215235/8c9568c4-488e-4cc8-b394-8b1b22751585.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u4Kkgncf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262215235/8c9568c4-488e-4cc8-b394-8b1b22751585.png" alt="Markdown_Inline_Code" width="563" height="38"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Multi-line Code &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;To display &lt;code&gt;code&lt;/code&gt; in more than one line, as a block, surround the lines with &lt;em&gt;three backticks&lt;/em&gt; or &lt;em&gt;three tilde&lt;/em&gt; (&lt;code&gt;~~~&lt;/code&gt;) signs. To format the code as a specific programming language, or as a text, add the language file extension after the first three backticks or tilde signs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Displaying output in Python

&lt;span class="p"&gt;```&lt;/span&gt;&lt;span class="nl"&gt;py
&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello, world!&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="p"&gt;```&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Formatting text as bold in Markdown

&lt;span class="p"&gt;~~~&lt;/span&gt;&lt;span class="nl"&gt;md
&lt;/span&gt;What &lt;span class="gs"&gt;**country**&lt;/span&gt; do you hail from?

&lt;span class="p"&gt;~~~&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QllxLwXm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262286921/9744c535-0cf6-4998-8d0a-7acf2663e2cd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QllxLwXm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262286921/9744c535-0cf6-4998-8d0a-7acf2663e2cd.png" alt="Markdown_Code_Block" width="800" height="212"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Blockquotes &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Blockquotes&lt;/em&gt; are displayed in a special way to get the reader's attention. It is usually used to indicate important information. To highlight a blockquote, begin each line with the &lt;em&gt;greater than&lt;/em&gt; sign (&lt;code&gt;&amp;gt;&lt;/code&gt;). Blank lines in blockquotes also begin with &lt;code&gt;&amp;gt;&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Here are two famous quotes:
&lt;span class="gt"&gt;&amp;gt; The greatest glory in living lies not in never falling, but in rising&lt;/span&gt;
&lt;span class="gt"&gt;&amp;gt; every time we fall.[][]&lt;/span&gt;
&lt;span class="gt"&gt;&amp;gt; \- Nelson Mandela&lt;/span&gt;
&lt;span class="gt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="gt"&gt;&amp;gt; The way to get started is to quit talking and begin doing.[][]&lt;/span&gt;
&lt;span class="gt"&gt;&amp;gt; \- Walt Disney&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OAQB26t9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262315204/82b92e45-3132-4328-83b0-fa9826eab252.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OAQB26t9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262315204/82b92e45-3132-4328-83b0-fa9826eab252.png" alt="Markdown_Blockquotes" width="659" height="126"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note the &lt;em&gt;two spaces&lt;/em&gt; after the quote to end the paragraph, and the &lt;em&gt;backslash&lt;/em&gt; "\" (explained later in this article) used here to prevent the text from becoming a list within the blockquote.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Links &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Links&lt;/em&gt; are used to direct users to another location, like another page on the website/document, or another website/document entirely. Links are formatted in two ways:&lt;/p&gt;

&lt;h4&gt;
  
  
  Inline Links &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;For inline links, the links are shown side-by-side with the text when writing Markdown. To create an inline link, surround the link text with &lt;em&gt;square brackets&lt;/em&gt; &lt;code&gt;[]&lt;/code&gt;, and then follow up with the link surrounded with &lt;em&gt;parentheses&lt;/em&gt; &lt;code&gt;()&lt;/code&gt;. There should be no space between the square brackets and parentheses.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;This is a link to my very &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;first article&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;https://ogagaonuta.hashnode.dev/python-need-to-know-for-beginners&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clicking on the link text will now point you to the specified link as shown below:&lt;/p&gt;

&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hVSsDRG6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262368090/b35b3acf-6dfc-4969-9116-d9fa19c2c335.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hVSsDRG6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262368090/b35b3acf-6dfc-4969-9116-d9fa19c2c335.png" alt="Markdown_Inline_Link" width="569" height="41"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Reference Links &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;For reference links, a &lt;em&gt;tag name&lt;/em&gt; is placed side-by-side with the text. This tag name then points to the link somewhere else in the document. This makes the document readable, by separating the link(s) from the text. It also helps when editing as you only have to correct the link in one place, rather than going through the whole document and correcting the link in several places.&lt;/p&gt;

&lt;p&gt;To create a reference link, surround the link text with &lt;em&gt;square&lt;/em&gt; &lt;em&gt;brackets&lt;/em&gt; &lt;code&gt;[]&lt;/code&gt;, and then follow up with the tag name surrounded in &lt;em&gt;square brackets&lt;/em&gt;. There should be no space between the square brackets and the tag name. For a multi-word tag name, use underscores or dashes as a separator.&lt;/p&gt;

&lt;p&gt;The tag name can now be pointed to the link anywhere else in the document by specifying the tag name in &lt;em&gt;square brackets&lt;/em&gt;, followed by a &lt;em&gt;colon&lt;/em&gt; (&lt;code&gt;:&lt;/code&gt;), a &lt;em&gt;space&lt;/em&gt;, and then the link, all on its line. This is mostly placed at the end of the document.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Click &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;here&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="ss"&gt;google&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; to visit the &lt;span class="gs"&gt;**Google**&lt;/span&gt; website.

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="ss"&gt;google&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt; &lt;span class="sx"&gt;https://www.google.com/&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CRObqVv2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262393669/53293443-7554-4a7e-9360-25dd9b87eb35.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CRObqVv2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262393669/53293443-7554-4a7e-9360-25dd9b87eb35.png" alt="Markdown_Reference_Link" width="584" height="46"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Images &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Images can also be displayed in Markdown. Images are formatted the same way as links, with the &lt;em&gt;one difference&lt;/em&gt; of beginning each image with an &lt;em&gt;exclamation mark&lt;/em&gt; (&lt;code&gt;!&lt;/code&gt;). The link text is replaced with an &lt;em&gt;alternate&lt;/em&gt; &lt;em&gt;text&lt;/em&gt; for the image, and the link itself is replaced with a link to the image, either stored locally on your computer or hosted online. As links, there are two ways to format images:&lt;/p&gt;

&lt;h4&gt;
  
  
  Inline Images &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;To display an image inline, you begin with an &lt;em&gt;exclamation mark&lt;/em&gt; (&lt;code&gt;!&lt;/code&gt;), and then follow the same syntax as the &lt;em&gt;inline links&lt;/em&gt; described above.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;This is an image of the &lt;span class="gs"&gt;**Bash _Shebang_**&lt;/span&gt;.

&lt;span class="p"&gt;![&lt;/span&gt;&lt;span class="nv"&gt;shebang&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;https://res.cloudinary.com/practicaldev/image/fetch/s--ggy90Gr7--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/i/71jsf4ymyf93rz7m45m4.png&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--d103xrAl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262418226/baa7189b-0272-47b4-8d30-7c8170d1804b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d103xrAl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262418226/baa7189b-0272-47b4-8d30-7c8170d1804b.png" alt="Markdown_Inline_Image" width="800" height="373"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Reference Images &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;To display an image as a reference, you begin with an &lt;em&gt;exclamation&lt;/em&gt; &lt;em&gt;mark&lt;/em&gt; (&lt;code&gt;!&lt;/code&gt;), and then follow the same syntax as the &lt;em&gt;reference links&lt;/em&gt; described above.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;My present profile picture.

&lt;span class="p"&gt;![&lt;/span&gt;&lt;span class="nv"&gt;profile picture&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="ss"&gt;prof-pic&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="ss"&gt;prof-pic&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt; &lt;span class="sx"&gt;./images/profile_picture.png&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3lUJVscT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262442960/4314122f-138a-4008-8c74-bb3cb567670e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3lUJVscT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262442960/4314122f-138a-4008-8c74-bb3cb567670e.png" alt="Markdown_Reference_Image" width="501" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Table &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;A table is a visual aid arranging elements in rows and columns. Markdown is also able to create tables by using the &lt;em&gt;pipe&lt;/em&gt; (&lt;code&gt;|&lt;/code&gt;) character. Each &lt;em&gt;column&lt;/em&gt; is separated by the &lt;em&gt;pipe&lt;/em&gt; character, and each &lt;em&gt;row&lt;/em&gt; is placed on its line. To separate a header row from the body row, you create a row with each column filled with &lt;em&gt;dashes&lt;/em&gt; (&lt;code&gt;-&lt;/code&gt;)&lt;/p&gt;

&lt;p&gt;Columns can be aligned by placing &lt;em&gt;colons&lt;/em&gt; (&lt;code&gt;:&lt;/code&gt;) on the row separating the header and body. By default, columns are left aligned. Put the colons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;on the &lt;em&gt;left&lt;/em&gt; for left alignment&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;on the &lt;em&gt;right&lt;/em&gt; for right alignment&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;on &lt;em&gt;both sides&lt;/em&gt; for centre alignment&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;The Logic &lt;span class="gs"&gt;**AND**&lt;/span&gt; Table

| A | B | A AND B |
| :---- | :---- | :-----: |
| True | True | True |
| True | False | False |
| False | True | False |
| False | False | False |

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ltGOFsTx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262483556/4fa48e55-1615-40a4-bd31-250ab47cf398.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ltGOFsTx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262483556/4fa48e55-1615-40a4-bd31-250ab47cf398.png" alt="Markdown_Table" width="588" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The "Escape Character" &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;The &lt;em&gt;escape character&lt;/em&gt; is used to prevent the character which follows it from executing its special meaning. It removes the formatting of the character and displays it as plain. The escape character is the &lt;em&gt;backslash&lt;/em&gt; (&lt;code&gt;\&lt;/code&gt;), and it comes in handy when writing in Markdown.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="se"&gt;\*&lt;/span&gt; is used to begin a list item in Markdown.

&lt;span class="se"&gt;\-&lt;/span&gt; is also used, it's just based on preference.

The &lt;span class="gs"&gt;**asterisk \***&lt;/span&gt; is used to format text as bold.

To escape a backtick in an inline code, surround it with two backticks &lt;span class="sb"&gt;`` ` ``&lt;/span&gt;.

The escape character can also escape a backtick, e.g. &lt;span class="se"&gt;\`&lt;/span&gt;print()&lt;span class="se"&gt;\`&lt;/span&gt; instead of
&lt;span class="sb"&gt;`print()`&lt;/span&gt;.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;RENDERED OUTPUT&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HOqkuBk4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262510312/16bd0ca8-a8b0-478a-9321-94d603cb1692.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HOqkuBk4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1701262510312/16bd0ca8-a8b0-478a-9321-94d603cb1692.png" alt="Markdown_Escape_Character" width="568" height="195"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note the use of backticks to escape another backtick. This is a special case.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Conclusion &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;I hope you enjoyed reading this article and were able to follow along practically. If you did, you should be able to write in &lt;strong&gt;Markdown&lt;/strong&gt; now. Markdown is fun and easy to write.&lt;/p&gt;

&lt;p&gt;Highlighted below are links for further reading.&lt;/p&gt;

&lt;p&gt;See you in my next article.&lt;/p&gt;

&lt;h3&gt;
  
  
  Resources &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.markdownguide.org/tools/"&gt;https://www.markdownguide.org/tools/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.markdowntutorial.com/"&gt;https://www.markdowntutorial.com/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.dotcms.com/docs/latest/markdown-syntax"&gt;https://www.dotcms.com/docs/latest/markdown-syntax&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://markdownguide.offshoot.io/basic-syntax/"&gt;https://markdownguide.offshoot.io/basic-syntax/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>markdown</category>
      <category>markdowncheatsheet</category>
      <category>markdownsyntax</category>
      <category>documentation</category>
    </item>
    <item>
      <title>The Python Programming Language Need-to-Know for Beginners</title>
      <dc:creator>David Onuta</dc:creator>
      <pubDate>Sat, 26 Aug 2023 09:00:12 +0000</pubDate>
      <link>https://dev.to/ogagaonuta/the-python-programming-language-need-to-know-for-beginners-34g6</link>
      <guid>https://dev.to/ogagaonuta/the-python-programming-language-need-to-know-for-beginners-34g6</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1fdhDeoD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692812953375/1e24b8c6-edfa-432e-8818-29e384dd31f4.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1fdhDeoD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692812953375/1e24b8c6-edfa-432e-8818-29e384dd31f4.png%3Fw%3D1600%26h%3D840%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp" alt="Welcome to the Python Programming Language" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Hello World!, trying to get familiar with &lt;strong&gt;Python&lt;/strong&gt;? In this article, we will take a look at the fundamentals to begin writing in &lt;strong&gt;Python Programming Language&lt;/strong&gt;. It's going to be a fun ride, so fasten your seatbelts, grab those goggles, and let's ride on!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Ensure you have &lt;a href="https://www.python.org/downloads/"&gt;Python&lt;/a&gt; installed on your machine.&lt;/p&gt;

&lt;p&gt;To practice with the example code included in different sections of the article, &lt;strong&gt;&lt;em&gt;launch the Python interpreter&lt;/em&gt;&lt;/strong&gt; from your &lt;em&gt;terminal&lt;/em&gt; or &lt;em&gt;command prompt (or PowerShell)&lt;/em&gt;, or use Python's &lt;em&gt;Integrated Development and Learning Environment (IDLE)&lt;/em&gt; which comes along with your Python installation.&lt;/p&gt;

&lt;p&gt;Lines beginning with &lt;code&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/code&gt; represent the &lt;em&gt;command line&lt;/em&gt; where the Python command(s) and statement(s) are written.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;On Linux or MacOS&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;(run&lt;/em&gt; &lt;code&gt;python3&lt;/code&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1UR-RrSm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692843466479/152bc992-bf95-4243-a0f6-fa45907c3121.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1UR-RrSm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692843466479/152bc992-bf95-4243-a0f6-fa45907c3121.png" alt="Python Interpreter on Linux or MacOS" width="503" height="75"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;On Windows&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;(run&lt;/em&gt; &lt;code&gt;py&lt;/code&gt; &lt;em&gt;or&lt;/em&gt; &lt;code&gt;python&lt;/code&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vcPWMy4a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692843485980/470d522a-eac0-46d4-ba93-63600c70cf41.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vcPWMy4a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692843485980/470d522a-eac0-46d4-ba93-63600c70cf41.png" alt="Python Interpreter on Windows" width="689" height="93"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dnORBnPW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692843507867/d99864b1-8615-459e-b12a-c7a79d8c3583.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dnORBnPW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692843507867/d99864b1-8615-459e-b12a-c7a79d8c3583.png" alt="Python Interpreter on Windows" width="688" height="86"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Python's IDLE&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--e8sHnydF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844389557/add9a546-5a34-48e0-b8ad-aa462e9c4a92.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--e8sHnydF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844389557/add9a546-5a34-48e0-b8ad-aa462e9c4a92.png" alt="Python IDLE" width="698" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Table of Content
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Prerequisite&lt;/li&gt;
&lt;li&gt;
What is Python

&lt;ul&gt;
&lt;li&gt;
Python Syntax

&lt;ul&gt;
&lt;li&gt;Python Comments&lt;/li&gt;
&lt;li&gt;Python Statements&lt;/li&gt;
&lt;li&gt;Indentation in Python&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
Handling Variables in Python

&lt;ul&gt;
&lt;li&gt;Rules for Naming Python Variables&lt;/li&gt;
&lt;li&gt;Defining Variables&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
Data Types in Python

&lt;ul&gt;
&lt;li&gt;Strings&lt;/li&gt;
&lt;li&gt;Integer&lt;/li&gt;
&lt;li&gt;Float&lt;/li&gt;
&lt;li&gt;List&lt;/li&gt;
&lt;li&gt;Boolean&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
Understanding Python Errors

&lt;ul&gt;
&lt;li&gt;Exceptions&lt;/li&gt;
&lt;li&gt;Errors&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Concept of Object-Oriented Programming in Python&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Prerequisite &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;To have an in-depth feel of this article, you should be familiar with the concept of programming and programming languages. Terms like &lt;em&gt;syntax&lt;/em&gt;, &lt;em&gt;statements&lt;/em&gt;, &lt;em&gt;data&lt;/em&gt;, &lt;em&gt;data types&lt;/em&gt;, &lt;em&gt;variables&lt;/em&gt;, and &lt;em&gt;operators&lt;/em&gt; should not be new to you. Here is a 20-minute &lt;a href="https://learn.microsoft.com/en-us/training/modules/web-development-101-introduction-programming/"&gt;introduction to programming&lt;/a&gt; to get started.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Python? &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Python is a high-level &lt;a href="https://thepythonguru.com/python-tutorial/introduction-to-python/#python-is-an-interpreted-language"&gt;interpreted&lt;/a&gt; programming language. Its syntax and commands are similar to the English language. It is as though you are speaking to a friend. This article explains some of the basic concepts needed to begin writing in Python Programming Language.&lt;/p&gt;

&lt;h3&gt;
  
  
  Python Syntax &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Python syntax refers to the way Python is written, and how it differs from other programming languages. Python is &lt;a href="https://thepythonguru.com/python-tutorial/introduction-to-python/#python-is-dynamically-typed"&gt;dynamically&lt;/a&gt; and &lt;a href="https://thepythonguru.com/python-tutorial/introduction-to-python/#python-is-strongly-typed"&gt;strongly&lt;/a&gt; typed.&lt;/p&gt;

&lt;h4&gt;
  
  
  Python Comments &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Comments in Programming are used to add descriptions to code. The comments are not interpreted but are important to explain what a statement(s) is doing in a program. Adding comments can help non-technical and technical people, including yourself &lt;em&gt;(or your future self)&lt;/em&gt; understand the process behind the program.&lt;/p&gt;

&lt;p&gt;There are two types of comments in Python; single-line comments and multi-line comments.&lt;/p&gt;

&lt;p&gt;To add a single-line comment, begin with a hash symbol (&lt;code&gt;#&lt;/code&gt;), followed by a &lt;a href="https://en.m.wikipedia.org/wiki/Whitespace_character"&gt;whitespace&lt;/a&gt; &lt;em&gt;(optional)&lt;/em&gt;. Single-line comments can be added at the beginning of a line, or after a Python statement. When adding a single-line comment after a statement, it is best practice to leave at least two whitespaces after the statement before adding the comment.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# This is a single-line Python comment
&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;value&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;  &lt;span class="c1"&gt;# This is another single-line Python comment
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add a multi-line comment, begin and end the comment with &lt;strong&gt;three (3)&lt;/strong&gt; single/double quotes (&lt;code&gt;'''&lt;/code&gt; OR &lt;code&gt;"""&lt;/code&gt;). Always end with a single quote if you begin with a single quote, and end with a double quote if you begin with a double quote, but never mix the quotations.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="sh"&gt;'''&lt;/span&gt;&lt;span class="s"&gt;
This
is
a
multi
line
comment
&lt;/span&gt;&lt;span class="sh"&gt;'''&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Python Statements &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Python statements are instructions to be run/interpreted to produce a desired result. Each statement gives a specific instruction. Python statements are written on independent lines and do not require any closing &lt;em&gt;(like periods, semi-colons, etc.)&lt;/em&gt;. Although multiple statements can be written on one line, separated by semi-colons (;), it is not recommended.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# NOT RECOMMENDED!!!
&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;value&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# This is BETTER
&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;value&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Indentation in Python &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Indentation is used to group code blocks. It identifies code blocks as belonging to an &lt;a href="https://ogagaonuta.hashnode.dev/python-need-to-know-for-beginners#heading-concept-of-object-oriented-programming-in-python"&gt;object&lt;/a&gt;, like a parent-child relationship. Statement(s) in code blocks in Python are indented by &lt;strong&gt;4 spaces or 1 tab&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;val1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
&lt;span class="n"&gt;val2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;

&lt;span class="sh"&gt;'''&lt;/span&gt;&lt;span class="s"&gt;
The brackets used in the &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;if&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; statements are not
necessary, they are just a way to group my code.
&lt;/span&gt;&lt;span class="sh"&gt;'''&lt;/span&gt;
&lt;span class="nf"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;val1&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;val2&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;{} is greater&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;val1&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;{} is greater&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;val2&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--I2PUU6YQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844753118/8e0199e2-2c0e-444a-9e87-425568f1ae9c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--I2PUU6YQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844753118/8e0199e2-2c0e-444a-9e87-425568f1ae9c.png" alt="Python Indentation" width="668" height="149"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you are curious about what you are looking at, check out &lt;a href="https://www.w3schools.com/python/python_conditions.asp"&gt;&lt;strong&gt;if_else statements&lt;/strong&gt;&lt;/a&gt; and &lt;a href="https://www.w3schools.com/python/ref_string_format.asp"&gt;&lt;strong&gt;Formatting strings in Python&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Handling Variables in Python &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;A variable is similar to a container that stores a particular value. To create a variable in Python, you begin with the variable name, followed by the &lt;a href="https://www.w3schools.com/python/gloss_python_assignment_operators.asp"&gt;assignment operator&lt;/a&gt;, and then the value to be stored in the variable.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;42&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;From the example above, the variable name &lt;em&gt;(the container)&lt;/em&gt; is &lt;code&gt;size&lt;/code&gt;, and the value it contains is &lt;code&gt;42&lt;/code&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Rules for Naming Python Variables &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;There are certain rules to be followed when creating a variable in Python. Highlighted below are the rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Variable names &lt;em&gt;begin&lt;/em&gt; with an &lt;strong&gt;alphabet&lt;/strong&gt; or an &lt;strong&gt;underscore&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Variable names consist of any &lt;em&gt;combinations&lt;/em&gt; of &lt;strong&gt;alphabets&lt;/strong&gt; , &lt;strong&gt;underscores&lt;/strong&gt; , and &lt;strong&gt;numbers&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Variable names are &lt;strong&gt;case-sensitive&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Variable names &lt;em&gt;cannot&lt;/em&gt; be &lt;a href="https://www.digitalocean.com/community/tutorials/python-keywords-identifiers"&gt;&lt;strong&gt;Python Keywords&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Python variables can be of any length, but it is good practice for variable names to be as descriptive as possible. Variable names containing more than one word can either be written in &lt;a href="https://en.m.wikipedia.org/wiki/Camel_case"&gt;&lt;em&gt;camelCase&lt;/em&gt;&lt;/a&gt; or separated by underscores.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;streetName&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Baker&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;street_number&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;21&lt;/span&gt;
&lt;span class="n"&gt;GradePoint&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;4.5&lt;/span&gt;
&lt;span class="n"&gt;shopping_list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Baking Pan&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Spatula&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Sugar&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Eggs&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Flour&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;blonde&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Defining Variables &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Python variables can be declared and defined whenever needed. They do not need to be declared initially and then defined later on in the document.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In some situations, using the same variable name later on in the document will replace the previous value stored in the variable.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Data Types in Python &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Data type refers to the type of information a variable can contain. There are several data types in Python, but for the sake of this article, we will look at a few needed to understand the basics.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To find out the data type of a variable, use the &lt;code&gt;type()&lt;/code&gt; function in Python.&lt;/p&gt;

&lt;p&gt;To get help with the functions (methods) available for any data type, use the &lt;code&gt;help()&lt;/code&gt; function in Python.&lt;/p&gt;

&lt;p&gt;Check out &lt;a href="https://www.w3schools.com/python/python_datatypes.asp"&gt;&lt;em&gt;Python Data Types&lt;/em&gt;&lt;/a&gt; for more information.&lt;/p&gt;

&lt;p&gt;Python functions are not covered in this article, but check out &lt;a href="https://www.w3schools.com/python/python_functions.asp"&gt;&lt;em&gt;Python Functions&lt;/em&gt;&lt;/a&gt; if you're curious.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nf"&gt;help&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;help&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Strings &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;A string (&lt;code&gt;str&lt;/code&gt;) in Python is a sequence of characters, arranged consecutively. Strings are created by enclosing the character(s) in single or double quotes and assigning it to a variable. Just like comments, a string can also span multiple lines by enclosing the character(s) in three (3) single or double quotes. Other data types can be converted to a string by using the &lt;code&gt;str()&lt;/code&gt; function.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;myStr1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;This is a string&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myStr1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myStr1&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;  &lt;span class="c1"&gt;# Confirming the data type of the variable
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--robEX6sr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844811428/5a82180a-d581-4d23-b6d8-143ccbfbebcf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--robEX6sr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844811428/5a82180a-d581-4d23-b6d8-143ccbfbebcf.png" alt="Python string output" width="652" height="101"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;myStr2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;This is also a string&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myStr2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mA6LG8_M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844849839/9d4aef75-6dfd-4832-818e-4f53fed6be06.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mA6LG8_M--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844849839/9d4aef75-6dfd-4832-818e-4f53fed6be06.png" alt="Python string output" width="642" height="82"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;myStr3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;'''&lt;/span&gt;&lt;span class="s"&gt;This is
a multi-line
string. It
occupies more
than one line&lt;/span&gt;&lt;span class="sh"&gt;'''&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myStr3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZG74G0sc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844882358/fc91930c-c6fb-4c4f-8c3a-91304e6a8797.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZG74G0sc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844882358/fc91930c-c6fb-4c4f-8c3a-91304e6a8797.png" alt="Python string output" width="650" height="178"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;myStr4&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;This is yet
another multi-line
string. It also
occupies more
than one line&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myStr4&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---0R_0l40--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844908917/224ad204-9bf5-4157-aff5-fdd85d2ec0b7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---0R_0l40--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844908917/224ad204-9bf5-4157-aff5-fdd85d2ec0b7.png" alt="Python string output" width="637" height="173"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Integer &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;An integer (&lt;code&gt;int&lt;/code&gt;) in Python is a whole number, positive or negative, without a decimal point, with unlimited length. Integers are created by assigning a whole number to a variable. Operations carried out on integers will result in another integer. Other data types can be converted to an integer by using the &lt;code&gt;int()&lt;/code&gt; function.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;myInt1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;
&lt;span class="n"&gt;myInt2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;
&lt;span class="n"&gt;myInt3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;myInt1&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;myInt2&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myInt1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myInt2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;{} multiplied by {} will result to {}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myInt1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;myInt2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;myInt3&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myInt3&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6_0SeXth--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844939908/f9d073e3-dea9-4c76-8c0c-e0710873461c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6_0SeXth--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844939908/f9d073e3-dea9-4c76-8c0c-e0710873461c.png" alt="Python integer output" width="637" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Float &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;A float in Python is a decimal point number, positive or negative. Floats are created by assigning a decimal point number to a variable. Operations carried out on floats will result in another float, and operations carried out on integers and floats will result in a float too. Other data types can be converted to a float by using the &lt;code&gt;float()&lt;/code&gt; function.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;myFloat1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;3.5&lt;/span&gt;
&lt;span class="n"&gt;myFloat2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;4.7&lt;/span&gt;
&lt;span class="n"&gt;myInt2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;

&lt;span class="n"&gt;myVar1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;myFloat1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;myFloat2&lt;/span&gt;
&lt;span class="n"&gt;myVar2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;myFloat2&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;myInt2&lt;/span&gt;  &lt;span class="c1"&gt;# Operation on float and int
&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myVar1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myVar2&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--twUWfDSq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844986980/96e9e477-16e0-44f8-8019-6cd0ad1851a4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--twUWfDSq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692844986980/96e9e477-16e0-44f8-8019-6cd0ad1851a4.png" alt="Python float output" width="646" height="191"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  List &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;A list in Python is a group of variables stored together as one variable. Lists are created by assigning one or more values separated by commas within square brackets to a variable. A list can contain different types of data, including other lists. The values within the square brackets are called &lt;strong&gt;"items"&lt;/strong&gt;. Items in a list are ordered by &lt;strong&gt;index&lt;/strong&gt; beginning with the index &lt;code&gt;0&lt;/code&gt; and can include duplicate values.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# list containing items of the same data type
&lt;/span&gt;&lt;span class="n"&gt;myList1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# list containing items of different data types
&lt;/span&gt;&lt;span class="n"&gt;myList2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;October&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2029&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;20.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;var1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="n"&gt;var2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;3.7&lt;/span&gt;
&lt;span class="n"&gt;var3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;This is interesting&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;var4&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="n"&gt;myList3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;var1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;var2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;var3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;var4&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myList1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myList2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myList3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myList3&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gcmrL8OR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845085491/61165fb2-4807-4224-81db-c9a38fe252db.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gcmrL8OR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845085491/61165fb2-4807-4224-81db-c9a38fe252db.png" alt="Python list output" width="646" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Boolean &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;Booleans in Python are one of two possible values; &lt;code&gt;True&lt;/code&gt; or &lt;code&gt;False&lt;/code&gt; &lt;em&gt;(not&lt;/em&gt; &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt;, &lt;strong&gt;NOTE&lt;/strong&gt; the Capital letters). They can be used to decide the outcome of several operations. The function &lt;code&gt;bool()&lt;/code&gt; can be used to evaluate any value. Most values are evaluated as &lt;code&gt;True&lt;/code&gt; except for empty values.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;myBool1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="n"&gt;myInt1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;
&lt;span class="n"&gt;myFloat2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;4.7&lt;/span&gt;

&lt;span class="nf"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myInt1&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;myFloat2&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myBool1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;  &lt;span class="c1"&gt;# Expression is False
&lt;/span&gt;    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OAZt2sa_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845118773/ae374ea6-20dd-40e6-98fa-eda8ab002f6d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OAZt2sa_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845118773/ae374ea6-20dd-40e6-98fa-eda8ab002f6d.png" alt="Python boolean output" width="637" height="167"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Understanding Python Errors &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;There are at least two kinds of errors in Python, &lt;strong&gt;Syntax errors&lt;/strong&gt; and &lt;strong&gt;Exceptions&lt;/strong&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  Errors &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Syntax errors&lt;/strong&gt; are raised when there's a mistake in the written program. Mistakes such as a wrong indentation, using a wrong variable name, and the like can result in a syntax error.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Nn-OIAv0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845159727/8dfaff3b-0fa0-4f9f-b8f7-526a2bbfbfd9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Nn-OIAv0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845159727/8dfaff3b-0fa0-4f9f-b8f7-526a2bbfbfd9.png" alt="Python syntax error" width="599" height="111"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Exceptions &lt;a&gt;&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Exceptions&lt;/strong&gt; on the other hand are detected during execution of the program. The program must have already passed the syntax checking before exceptions are raised.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dXjP7JBV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845183003/efdcfe07-703d-48bf-a4ba-dc9355bf972a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dXjP7JBV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1692845183003/efdcfe07-703d-48bf-a4ba-dc9355bf972a.png" alt="Python exception" width="637" height="89"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As seen from the images above, the error message tells you what kind of error has been made, and sometimes even suggests possible corrections. It also tells you what file and line number the error was raised from.&lt;/p&gt;

&lt;h3&gt;
  
  
  Concept of Object-Oriented Programming in Python &lt;a&gt;&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Object-Oriented Programming&lt;/strong&gt; (OOP) refers to the logic of each element operating as a first-level element. This means that each element is on the first rank in the hierarchy of things. Two terms you would notice in OOP are &lt;strong&gt;Classes&lt;/strong&gt; and &lt;strong&gt;Objects&lt;/strong&gt;. A common example is &lt;em&gt;"An Architect drawing a building plan"&lt;/em&gt;, after drawing the plan, different structures can be built from it. The plan is referred to as the &lt;strong&gt;&lt;em&gt;Class&lt;/em&gt;&lt;/strong&gt; , while the structures built from the plan are referred to as &lt;strong&gt;&lt;em&gt;Objects&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Elements include &lt;em&gt;variables&lt;/em&gt;, &lt;em&gt;loops&lt;/em&gt;, &lt;em&gt;control structures&lt;/em&gt;, &lt;em&gt;functions&lt;/em&gt;, &lt;em&gt;modules&lt;/em&gt;, and even &lt;em&gt;classes&lt;/em&gt; and &lt;em&gt;objects&lt;/em&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Check out &lt;a href="https://pynative.com/python/object-oriented-programming/"&gt;&lt;strong&gt;&lt;em&gt;Python OOP&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt; to know more.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Conclusion &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Whew! Was that a lot to take in? It was an interesting ride, yeah?&lt;/p&gt;

&lt;p&gt;I expect us to be warmed up and excited about &lt;strong&gt;Python&lt;/strong&gt; by now, I certainly am. After completing this article, we should feel confident about Python &lt;em&gt;syntax, variables, data types, errors, and OOP&lt;/em&gt;. To improve on what you already know, go through the resources provided below.&lt;/p&gt;

&lt;p&gt;Now go type some &lt;strong&gt;Python&lt;/strong&gt; code.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://thepythonguru.com/"&gt;https://thepythonguru.com/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.learnpython.org/"&gt;https://www.learnpython.org/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.w3schools.com/python/"&gt;https://www.w3schools.com/python/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.tutorialspoint.com/python/index.htm"&gt;https://www.tutorialspoint.com/python/index.htm&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://realpython.com/python-first-steps/"&gt;https://realpython.com/python-first-steps/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.freecodecamp.org/news/the-python-handbook"&gt;https://www.freecodecamp.org/news/the-python-handbook&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>python3</category>
      <category>pythonbeginner</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
