<?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: Hugoonreplit</title>
    <description>The latest articles on DEV Community by Hugoonreplit (@hugoonreplit).</description>
    <link>https://dev.to/hugoonreplit</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F914758%2F953200a1-903e-415f-94cb-d2d908e7f4fb.jpeg</url>
      <title>DEV Community: Hugoonreplit</title>
      <link>https://dev.to/hugoonreplit</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hugoonreplit"/>
    <language>en</language>
    <item>
      <title>How to .go : For</title>
      <dc:creator>Hugoonreplit</dc:creator>
      <pubDate>Fri, 24 Feb 2023 07:06:10 +0000</pubDate>
      <link>https://dev.to/hugoonreplit/how-to-go-for-1i0d</link>
      <guid>https://dev.to/hugoonreplit/how-to-go-for-1i0d</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Hey people,&lt;/p&gt;

&lt;p&gt;have you ever heard about Go? Well, let me tell you that Go is amazing! If you don't know a lot of things about Go, here are some bullet points : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;statically typed, compiled high-level programming language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Designed at Google&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has a mascot which is really cool&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It's very very fast&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Go on Replit
&lt;/h2&gt;

&lt;p&gt;Replit has hundreds of programming languages templates, and when I say hundreds I mean it. There are some Go related templates, for example these : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go HTTP Template&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Beego&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Discordgo&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are some popular templates, I actually made Beego! Starting using Go in Replit is very simple, if you don't have account, follow these steps : &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;a href="https://join.replit.com/Hugo" rel="noopener noreferrer"&gt;https://join.replit.com/Hugo&lt;/a&gt; (it's my code 😄)&lt;/li&gt;
&lt;li&gt;Fill in all the details&lt;/li&gt;
&lt;li&gt;Once you've filled all the details verify your accounts by email&lt;/li&gt;
&lt;li&gt;Once your account is verified click on the create button and search Go&lt;/li&gt;
&lt;li&gt;Select Go, put a title to your repl and click on the Create Repl button&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once you've clicked on the Create Repl button you will enter to the workspace, where you will be able to start coding!&lt;/p&gt;

&lt;h2&gt;
  
  
  For
&lt;/h2&gt;

&lt;p&gt;If you've been coding for sometime, I'm sure that you might have come across the for loops in Python. This is a code example using the for loops :&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;languages&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;go&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;css&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;c++&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;languages&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;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For loops are very simple in Python, but I didn't find them so simple in Go! Here is a simple code example of a For loop I did with Go :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="m"&gt;3&lt;/span&gt;

  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello world!"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="m"&gt;1&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;p&gt;Let's look through the code so you can understand For loops! As always we start with the basic stuff :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;function&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c"&gt;//blah blah blah&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first thing I do is declare a variable named i, and I give it a value of 3. You might be asking yourself why I wrote a colon and an equals instead of an equal. well, this is why :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Colon + Equals is for declaration + assignment&lt;/li&gt;
&lt;li&gt;Equals is for declaration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After doing all that, this is our code :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;function&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="m"&gt;3&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And now the real thing starts! First I start the for arguments, so I say :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="n"&gt;function&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="m"&gt;3&lt;/span&gt;

  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c"&gt;//blah blah blah&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;p&gt;Now you might be asking yourself what &amp;lt;= means. In Go it means less than or equal to. After this, you now put the easy stuff inside the for loop. My first line inside the for loop prints Hello world!, and the other one adds 1 to i, and when i is equal to 5 it will stop printing Hello world! &lt;/p&gt;

&lt;p&gt;This was the final code :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="m"&gt;3&lt;/span&gt;

  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello world!"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="m"&gt;1&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;p&gt;And this was the result of the console :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Hello world!
Hello world!
Hello world!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The end 👋
&lt;/h2&gt;

&lt;p&gt;If you've reached this part, congrats. This is the end! Don't forget to follow me on : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://replit.com/@Hugo" rel="noopener noreferrer"&gt;Replit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://join.replit.com/Hugo" rel="noopener noreferrer"&gt;Use my Replit Join Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wyoutube.com/@Hugoonreplit" rel="noopener noreferrer"&gt;Youtube&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Hugoonreplit" rel="noopener noreferrer"&gt;Github&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lichess.org/@/urias6710" rel="noopener noreferrer"&gt;Lichess&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to play with me on Lichess, challenge me to a match!&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>career</category>
    </item>
    <item>
      <title>How to .go</title>
      <dc:creator>Hugoonreplit</dc:creator>
      <pubDate>Tue, 21 Feb 2023 17:42:43 +0000</pubDate>
      <link>https://dev.to/hugoonreplit/how-to-go-384l</link>
      <guid>https://dev.to/hugoonreplit/how-to-go-384l</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Hey people,&lt;/p&gt;

&lt;p&gt;have you ever heard about Go? Well, let me tell you that Go is amazing! If you don't know a lot of things about Go, here are some bullet points : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;statically typed, compiled high-level programming language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Designed at Google&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has a mascot which is really cool&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It's very very fast&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Go on Replit
&lt;/h2&gt;

&lt;p&gt;Replit has hundreds of programming languages templates, and when I say hundreds I mean it. There are some Go related templates, for example these : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go HTTP Template&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Beego&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Discordgo&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are some popular templates, I actually made Beego! Starting using Go in Replit is very simple, if you don't have account, follow these steps : &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;a href="https://join.replit.com/Hugo"&gt;https://join.replit.com/Hugo&lt;/a&gt; (it's my code 😄)&lt;/li&gt;
&lt;li&gt;Fill in all the details&lt;/li&gt;
&lt;li&gt;Once you've filled all the details verify your accounts by email&lt;/li&gt;
&lt;li&gt;Once your account is verified click on the create button and search Go&lt;/li&gt;
&lt;li&gt;Select Go, put a title to your repl and click on the Create Repl button&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once you've clicked on the Create Repl button you will enter to the workspace, where you will be able to start coding!&lt;/p&gt;

&lt;h2&gt;
  
  
  Writing your first line of Go
&lt;/h2&gt;

&lt;p&gt;Since I started learning Go, I loving it! First you will need to type this into the main.go file :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The package main tells the Go compiler that the package should compile as an executable program instead of a shared library.&lt;/p&gt;

&lt;p&gt;After that we will import fmt. fmt is a Go package that is used to format basic strings, values, inputs, and outputs. This should be what you have after :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And finally you will print your first line of Go, your code should now look like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello, World!"&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;p&gt;If you're asking yourself why the function main is used, it's because it's the most basic function of the Golang, and its primary purpose is to act as the entry point for the executable code or programs.&lt;/p&gt;

&lt;p&gt;You might find it difficult, but I remember all those 9 lines in 30 seconds, and if I can do it, I'm sure you can!&lt;/p&gt;

&lt;h2&gt;
  
  
  Comments in Go
&lt;/h2&gt;

&lt;p&gt;Comments in Go are like in JS, just put 2 slashes. Like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="c"&gt;// This is a comment!&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Math Stuff in Go
&lt;/h2&gt;

&lt;p&gt;By Math stuff I mean multiplication, addition... Let's start with some things simple, so you can know how to this things in Go : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Multiply&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Divide&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Substract&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a program that prints some numbers using all the things I listed above :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="m"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="m"&gt;2&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;p&gt;Very simple!&lt;/p&gt;

&lt;h2&gt;
  
  
  Variables in Go
&lt;/h2&gt;

&lt;p&gt;Variables are very easy, to make a variable first you start with this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;var&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As you might have noticed var is short for variable! After you put var, you need to give a name to the variable. Remember that the variable name can't have illigal characters :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;world&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And finally you just have to put and equals and after the equals you will put the value of your variable! Like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;world&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"world"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here is a simple program that uses variables :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;world&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"world"&lt;/span&gt;
  &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;world&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;h2&gt;
  
  
  If/Else/Else if statements in Go
&lt;/h2&gt;

&lt;p&gt;If, Else and Else if statements on Go are quite simple. They're like a mix of Python and JS If and Else statements. &lt;/p&gt;

&lt;p&gt;To make an if/else if, first you put the if or else if statement and after the condition and then you open the strage brackets :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="c"&gt;//condition{&lt;/span&gt;

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

&lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="c"&gt;//condition{&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And for else like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;else&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;p&gt;Here is a program that includes an If and Else statement :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;package main

import (
  "fmt"
)

func main() {
  var x = 5

  if x == 5{
    fmt.Println("x = 5")
  }else {
    fmt.Println("x does not equal 5")
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Very simple, and now let's make some changes so that if x equals to 3 it will print something! This is the final result :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;package&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s"&gt;"fmt"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt;

  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="m"&gt;5&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"x = 5"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="m"&gt;6&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"x is less than 6"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="m"&gt;6&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"x is bigger than 6"&lt;/span&gt;&lt;span class="p"&gt;)&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="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"x does not equal 5 and is not less than or bigger than 6"&lt;/span&gt;&lt;span class="p"&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;p&gt;Always remember that the else statement is always the last statement, else can't go before else if!&lt;/p&gt;

&lt;h2&gt;
  
  
  Function in Go
&lt;/h2&gt;

&lt;p&gt;And lastly functions in Go. Functions are quite easy, if you know Python, making Go function will be easy for you, as they look quite similar. &lt;/p&gt;

&lt;p&gt;First you say that it's a function, like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;func&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that you will need to put the function name and brackets and then strage brackets, like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;Hello&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;p&gt;And finally you put what you want it to do inside the strange brackets, like this :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;func Hello() {
  fmt.Println("Hello world")
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That was easy!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Go Challenge
&lt;/h2&gt;

&lt;p&gt;Now it's your turn, this is the challenge! Make a function that gets 2 numbers that we said in the function, and one of these math methods : &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Addition - In function it'll be Add&lt;/li&gt;
&lt;li&gt;Substraction - In function it'll be sub&lt;/li&gt;
&lt;li&gt;Multiplication - In function it'll be mul&lt;/li&gt;
&lt;li&gt;Division - In function it'll be div&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The numbers given on the function are intigers and the math method is a string. It might look very simple, but it isn't!&lt;/p&gt;

&lt;p&gt;If you finish the challenge, post your answers in the comments!&lt;/p&gt;

&lt;h2&gt;
  
  
  The end 👋
&lt;/h2&gt;

&lt;p&gt;If you've reached this part, congrats. This is the end! Don't forget to follow me on : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://replit.com/@Hugo"&gt;Replit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://join.replit.com/Hugo"&gt;Use my Replit Join Link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wyoutube.com/@Hugoonreplit"&gt;Youtube&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/Hugoonreplit"&gt;Github&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://lichess.org/@/urias6710"&gt;Lichess&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to play with me on Lichess, challenge me to a match!&lt;/p&gt;

</description>
      <category>programming</category>
      <category>go</category>
      <category>tutorial</category>
      <category>replit</category>
    </item>
    <item>
      <title>How I Did A Emailing System!</title>
      <dc:creator>Hugoonreplit</dc:creator>
      <pubDate>Wed, 24 Aug 2022 23:19:49 +0000</pubDate>
      <link>https://dev.to/hugoonreplit/how-i-did-a-emailing-system-36e</link>
      <guid>https://dev.to/hugoonreplit/how-i-did-a-emailing-system-36e</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;About me!&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Hey, Hugoonreplit here! Im a 14 year old Spanish computer science student which love web development and learning new things. I am a active &lt;a href="https://replit.com/@Hugoonreplit"&gt;Replit&lt;/a&gt; user which loves to create open source projects and them presenting them or publishing them. Feel free to DM me on &lt;a href="https://twitter.com/Hugoonreplit"&gt;Twitter&lt;/a&gt; or just by &lt;a href="https://replit.com/@Hugoonreplit/Dumpy?v=1"&gt;Dumpy&lt;/a&gt; my address is &lt;a href="mailto:Hugo@dumpy.md"&gt;Hugo@dumpy.md&lt;/a&gt; . But enough talking about me and let's start this!&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What is an Emailing System&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This is the Google &lt;code&gt;def&lt;/code&gt; for Emailing System : &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;A system that allows users to send and receive messages through a computer network&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I've got another &lt;code&gt;def&lt;/code&gt; which is very controversial and people may not identify an Emailing System with, but everyone has their own personal opinion. My &lt;code&gt;def&lt;/code&gt; is :&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;A System where people can receive messages + led by a company which then sells all your data!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;2 very similar different &lt;code&gt;def&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Emailing Systems examples&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;· Dumpy&lt;br&gt;
· Gmail&lt;br&gt;
· Mail.com&lt;br&gt;
· Zoho mail&lt;br&gt;
· Outlook&lt;/p&gt;

&lt;p&gt;4 of them famous, Dumpy still not :(&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;My Emailing System : Dumpy&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Yes, as you might have spotted by the photo of the post my emailing system is called Dumpy, making a reference to a Dumpling. Look I love Dumplings + I was Hungry and was not willing to search for other food. Dumpy is made with Python and uses Markdown as an inbox, so what does this means? No more clicking buttons to style your emails or Dum's as it's called in Dumpy. Since Dumpy uses Markdown you can style your messages with Markdown! Markdown == Cool 😎. If you use Dumpy you are cool 😎, but if you use Gmail you are not cool 😡.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to be a Dumpy master
&lt;/h2&gt;

&lt;p&gt;· First you need to know all of this info :&lt;br&gt;
· In Dumpy you are Dumming&lt;br&gt;
· Dumpy Addresses are formed like this :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;username + "@dumpy.md"
· A user doesn't send Email's, he sends Dum's
· Replit Employees are top Dumpy users
· If you are a Dumpy user you should follow Hugoonreplit on Replit!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you learn't all this you are officially a Dumpy master!&lt;/p&gt;

&lt;h2&gt;
  
  
  Python
&lt;/h2&gt;

&lt;p&gt;Before reviewing the code you first have to learn about Python and Markdown because they are the programming languages that Im using to create Dumpy. This is what Wikipedia says about Python : &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Python (1991) is a language of high level programming interpreted whose philosophy emphasizes the legibility of its code, which it uses to develop applications of all types, ejemplos: Instagram, Netflix, Spotify, Panda 3D, among others.​&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And we also should learn about the creator : &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Guido van Rossum is a computer scientist, known for being the author of the Python programming language. He was born and raised in the Netherlands. Wikipedia&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Markdown
&lt;/h2&gt;

&lt;p&gt;Before reviewing the code you first have to learn about Python and Markdown because they are the programming languages that Im using to create Dumpy. This is what Wikipedia says about Markdown : &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Markdown is a lightweight marking language created by John Gruber and Aaron Swartz that tries to achieve maximum legibility and ease of publication both in its entry and exit forms, inspired by many existing conventions for marking electronic mail messages using plain text.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The code
&lt;/h2&gt;

&lt;p&gt;Now we have come to the part everyone loves and was waiting for : The code. I only use 1 files for Dumpy and I do recommend that if you want to learn open a Python file and keep on track. I recommend Replit to do this so create a &lt;a href="https://replit.com/new/python"&gt;Python Repl&lt;/a&gt;. Or you can just check the files and pls like the and follow me if you liked it!&lt;/p&gt;

&lt;p&gt;· &lt;a href="https://replit.com/@Hugoonreplit/Dumpy?v=1"&gt;https://replit.com/@Hugoonreplit/Dumpy?v=1&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Imports
&lt;/h2&gt;

&lt;p&gt;For Dumpy I used 2 imports which I consider very important and that in my opinion should always be added when doing a app on Python. The imports are &lt;code&gt;import time&lt;/code&gt; and &lt;code&gt;from datetime import datetime&lt;/code&gt;. These imports are very important for these reasons :&lt;/p&gt;

&lt;p&gt;1) Organizes &lt;br&gt;
2) Important in the inbox&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuring the imports
&lt;/h2&gt;

&lt;p&gt;Then I have to organize/define the import of &lt;code&gt;datetime&lt;/code&gt; to do this we will type these 2 line : &lt;/p&gt;

&lt;p&gt;&lt;code&gt;now = datetime.now()&lt;br&gt;
current_time = now.strftime("%H:%M:%S")&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This lines will help us to know the time a message was sent. As you have may spotted the time I use for messages is Hours, Minutes and Seconds. I will be adding days, week, month and year in the 0.2 version.&lt;/p&gt;

&lt;h2&gt;
  
  
  Username
&lt;/h2&gt;

&lt;p&gt;Then we have to have the correct data to create a Dumpy address. The user can choose whatever username they want so it is very fun, but this will maybe not be available in the 0.2 since repl identity might be presented, but I doubt I will add it because Dumpy is 100% public! But what do we do to get the username, well it is as simple as this : &lt;code&gt;username = input("Dumpy Username:")&lt;/code&gt; we just type an input and at the start of it we put it a name so we can identify it!&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating an address
&lt;/h2&gt;

&lt;p&gt;In my opinion this was the trickiest but most enjoyable part of creating Dumpy. First we need to create a Markdown file with a username and the direction, &lt;code&gt;f=open(username+"@dumpy.md","a+")&lt;/code&gt;. And then we have to define a Dumpy Markdown Address, &lt;code&gt;dumpy_markdown_address = username + "@dumpy" ".md"&lt;/code&gt; and finally I will show the users what their address is, &lt;code&gt;print("Your Dumpy markdown address is " + dumpy_markdown_address)&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Design is important
&lt;/h2&gt;

&lt;p&gt;Yes design is important, but bro what do you want me to do on Python a Figma freelancer payed project??? I had to do some boring things and organized, &lt;code&gt;print()&lt;br&gt;
print()&lt;br&gt;
time.sleep(1)&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Defining a Dum
&lt;/h2&gt;

&lt;p&gt;As I mentioned earlier the word email doesn't exist in Dumpy, it's called Dum, not dumb, dum. This is easy and it's like the username part : &lt;code&gt;dum = input("Address:")&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dumming a person
&lt;/h2&gt;

&lt;p&gt;This was one of the most trickiest parts if not the most trickiest one. I had to send a message to a file, well just actually adding text! And this is what I did : &lt;code&gt;f=open(dum,"a+")&lt;br&gt;
data=str(input(current_time+ "|" +username+":"))&lt;br&gt;
f.write("\n")&lt;br&gt;
f.write(current_time+ "|" +username+":"+data)&lt;br&gt;
f.write("\n")&lt;br&gt;
print("Message Successfully Delivered")&lt;br&gt;
f.close()&lt;/code&gt;. Wow with only that amount of lines you can send a message. Not actually Dumpy was only made with 19 so it mind blowing 🤯!&lt;/p&gt;

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

&lt;p&gt;If you've gotten to this part is because you are the best person in the world and you like Dumpy or just because you scrolled down to see the coding part. But let's get to the real conclusion. Dumpy is only 19 lines, when you apply to jobs they ask you for project, but it's not the size that matters it's the purpose and it's functionality!&lt;/p&gt;

&lt;h2&gt;
  
  
  Support me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Follow me on Replit &lt;a class="mentioned-user" href="https://dev.to/hugoonreplit"&gt;@hugoonreplit&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Follow me on Github &lt;a class="mentioned-user" href="https://dev.to/hugoonreplit"&gt;@hugoonreplit&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sponsor me on Github &lt;a class="mentioned-user" href="https://dev.to/hugoonreplit"&gt;@hugoonreplit&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Follow me on Github @Twitter&lt;/li&gt;
&lt;li&gt;Like and Share Dumpy &lt;a href="https://replit.com/@Hugoonreplit/Dumpy?v=1"&gt;https://replit.com/@Hugoonreplit/Dumpy?v=1&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;-- Hugoonreplit, Hugo Urías Lombraña.&lt;br&gt;
-- Madrid, Spain.&lt;br&gt;
-- &lt;a href="mailto:Hugoonreplit@gmail.com"&gt;Hugoonreplit@gmail.com&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
