<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Abstract</title>
    <description>The latest articles on Forem by Abstract (@abstract).</description>
    <link>https://forem.com/abstract</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%2Forganization%2Fprofile_image%2F4923%2F6050af15-d524-4458-bc28-636c3ce6b18a.JPG</url>
      <title>Forem: Abstract</title>
      <link>https://forem.com/abstract</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/abstract"/>
    <language>en</language>
    <item>
      <title>6 Elegant Tricks in Python for Beginners</title>
      <dc:creator>Vadim Kolobanov</dc:creator>
      <pubDate>Sun, 21 Nov 2021 05:33:37 +0000</pubDate>
      <link>https://forem.com/abstract/a-few-useful-tricks-in-python-for-beginners-1bfa</link>
      <guid>https://forem.com/abstract/a-few-useful-tricks-in-python-for-beginners-1bfa</guid>
      <description>&lt;p&gt;Hello everyone! Let's see together what elegant mechanics professional Python developers use in their code&lt;/p&gt;

&lt;p&gt;I very often see such examples in some public Git repositories of experienced programmers.&lt;br&gt;
Let's get started&lt;/p&gt;
&lt;h1&gt;
  
  
  Sorting data by multiple keys
&lt;/h1&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;
&lt;span class="n"&gt;peoples&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'John'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Janet'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;34&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Ed'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;24&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Sara'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'John'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;32&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Jane'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;34&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'John'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;52&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;peoples&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;]))&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;people&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;#Output
&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Ed'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Jane'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;34&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Janet'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;34&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'John'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;32&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'John'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;52&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'John'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
 &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;'Sara'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;64&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;at the output, we get alphabetical sorting, and if the values match, the sorting takes place by the second key. This will not have an effect if there are no duplicate values in your data.&lt;/p&gt;
&lt;h1&gt;
  
  
  List comprehensions (List Generator)
&lt;/h1&gt;

&lt;p&gt;I have already shown an understanding of the list in my previous articles, here I will just show you a few possible uses&lt;/p&gt;

&lt;p&gt;Basic syntax&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ expression for item in list if conditions ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A very simple example to fill in a list is a sequence of numbers:&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;mylist&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mylist&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And since you can use an expression, you can also do some math.:&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;squares&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&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="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;squares&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;#output
&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="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4&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;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;36&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;49&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;81&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;You can call a function as an expression&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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;some_function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;

&lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;some_function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&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;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;#output
&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mf"&gt;2.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;3.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;3.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;4.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;4.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;5.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;5.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;6.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;6.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;7.0&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 can use "if" to filter the list. In this case, we only keep the values that are divisible by 2:&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;filtered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;filtered&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;#output
&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="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;6&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;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Control of memory in use by objects
&lt;/h1&gt;

&lt;p&gt;I have also already mentioned sys.getsizeof() in the articles, but here I want to show you an interesting example that will show all the usefulness of memory control&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="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;sys&lt;/span&gt;

&lt;span class="n"&gt;mylist&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;range&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="mi"&gt;10000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getsizeof&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mylist&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="c1"&gt;#output
&lt;/span&gt;&lt;span class="mi"&gt;48&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Just 48 bytes? Seriously? The list is from 0 to 9999?&lt;br&gt;
Yes, guys and why is this happening, I'll tell you now&lt;/p&gt;

&lt;p&gt;The fact is that range only pretends to be a list, behaves like a list, but in fact, the range function returns a class and it certainly loads less memory.&lt;/p&gt;

&lt;p&gt;For comparison, let's create a real list with the same range&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="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;sys&lt;/span&gt;

&lt;span class="n"&gt;myreallist&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&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="nb"&gt;range&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="mi"&gt;10000&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getsizeof&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myreallist&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="c1"&gt;#output
&lt;/span&gt;&lt;span class="mi"&gt;87616&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Agree, the numbers vary greatly, so it's not so useless to monitor memory.&lt;/p&gt;

&lt;h1&gt;
  
  
  Dataclasses
&lt;/h1&gt;

&lt;p&gt;Since version 3.7, Python offers data classes. There are several advantages over regular classes or other alternatives, such as returning multiple values or dictionaries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a data class requires a minimal amount of code&lt;/li&gt;
&lt;li&gt;that you can compare data classes because there is "__ eq __"&lt;/li&gt;
&lt;li&gt;you can easily output a data class for debugging because you can use "__ repr __"&lt;/li&gt;
&lt;li&gt;data classes that require type hints, this reduces the likelihood of errors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is an example of a data class in action:&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="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;dataclasses&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;dataclass&lt;/span&gt;


&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;dataclass&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Card&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;
    &lt;span class="n"&gt;suit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;


&lt;span class="n"&gt;card&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Card&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Q"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"hearts"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;card&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;card&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# True
&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;card&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# 'Q'
&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;card&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;suit&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# 'hearts'
&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;card&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;#Card(rank='Q', suit='hearts')
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Finding the most common value
&lt;/h1&gt;

&lt;p&gt;A fairly simple and elegant example of searching for repetitions in a sequence&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="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Counter&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'abracadabra'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="n"&gt;most_common&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="c1"&gt;#output
&lt;/span&gt;&lt;span class="p"&gt;[(&lt;/span&gt;&lt;span class="s"&gt;'a'&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="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'abracadabra'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="n"&gt;most_common&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="c1"&gt;#output
&lt;/span&gt;&lt;span class="p"&gt;[(&lt;/span&gt;&lt;span class="s"&gt;'a'&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="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'b'&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="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'abracadabra'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="n"&gt;most_common&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="c1"&gt;#output
&lt;/span&gt;&lt;span class="p"&gt;[(&lt;/span&gt;&lt;span class="s"&gt;'a'&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="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'b'&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="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'r'&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As an argument for Counter, you can pass, for example, list. This will also work.&lt;/p&gt;

&lt;h1&gt;
  
  
  Merging Dictionaries (Python 3.5+)
&lt;/h1&gt;

&lt;p&gt;Starting with Python 3.5, it's easier to combine dictionaries:&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;dict1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'a'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'b'&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="n"&gt;dict2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'b'&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="s"&gt;'c'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;merged&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;dict1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;dict2&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;merged&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;#output
&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'a'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'b'&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="s"&gt;'c'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If there are overlapping keys, the keys from the first dictionary will be overwritten.&lt;/p&gt;

&lt;p&gt;In Python 3.9, combining dictionaries becomes even cleaner. The above merge in Python 3.9 can be rewritten as:&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;dict1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'a'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'b'&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="n"&gt;dict2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;'b'&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="s"&gt;'c'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;merged&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dict1&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;dict2&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;merged&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;#output
&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;'a'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'b'&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="s"&gt;'c'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;The use of some complex (to learn) mechanics in a programming language seems unnecessary to many novice programmers. &lt;br&gt;
But have you ever wondered why more experienced developers use such mechanisms more often?. Simplicity for a beginner and simplicity for a professional are two completely different things. What seems complicated and cumbersome for a beginner is actually the simplest and lightest solution for a more experienced programmer. Each of you will come to these methods and solutions by yourself. Sooner or later. It's just that in our world today, you can learn everything. Let's learn properly!&lt;/p&gt;

&lt;h3&gt;
  
  
  Put on Heart if you liked it and you learned something new!
&lt;/h3&gt;

&lt;h3&gt;
  
  
  You can also follow &lt;a href="https://dev.to/vadimkolobanov"&gt;ME&lt;/a&gt; to receive notifications about new interesting articles.
&lt;/h3&gt;




&lt;h3&gt;
  
  
  FAQ
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;I am a beginner, how should I learn Python?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Look into the following series:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/vadimkolobanov/series/15329"&gt;Learning Python&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15349"&gt;Step by Step to Junior&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15331"&gt;Ideas&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can we cooperate with you?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you have interesting projects and you need a python (web)developer, then you can contact me by &lt;strong&gt;&lt;a href="//titanyforgame@gmail.com"&gt;mail&lt;/a&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;a href="https://discord.gg/szEuVAhatW"&gt;discord&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://www.linkedin.com/in/vadzim-hlobuz-0b44531b7/"&gt;LinkedIn&lt;/a&gt;&lt;/strong&gt; for cooperation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect to me on&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.facebook.com/neo.skarynsky"&gt;Write me on Facebook&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/decodesperato"&gt;My Twitter&lt;/a&gt; &lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
    <item>
      <title>9 Chrome Extensions That Every Web Developer Should Use</title>
      <dc:creator>Mark Vassilevskiy</dc:creator>
      <pubDate>Sat, 20 Nov 2021 00:23:39 +0000</pubDate>
      <link>https://forem.com/abstract/9-chrome-extensions-that-every-web-developer-should-use-f1a</link>
      <guid>https://forem.com/abstract/9-chrome-extensions-that-every-web-developer-should-use-f1a</guid>
      <description>&lt;p&gt;Chrome is the most famous browser in our world and of course, it has many extensions which you can easily download into your browser and use. Some of them are just for your better productivity and for better using your browser, and some of them are really useful for every web developer because they have amazing features that simplify the web layout process a hundred times. I tried to find the best of the best among countless extensions and to show these 8&lt;/p&gt;




&lt;h2&gt;
  
  
  1. WhatFont
&lt;/h2&gt;

&lt;p&gt;the easiest way to find fonts on a website is &lt;strong&gt;&lt;em&gt;WhatFont&lt;/em&gt;&lt;/strong&gt;. Everything that you need is to click on what font extension icon and start to move your cursor through the whole website and when you will be hovering on the text he will show what font that is&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Y5ZaGiCK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/29gd3vcecouwb2g4m6wr.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y5ZaGiCK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/29gd3vcecouwb2g4m6wr.jpeg" alt="Image description" width="584" height="323"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. ColorZilla
&lt;/h2&gt;

&lt;p&gt;one of the most popular Chrome, Firefox Extension is &lt;strong&gt;&lt;em&gt;ColorZilla&lt;/em&gt;&lt;/strong&gt; and it uses to pick the color from a webpage. It actually has the same mechanics as the earlier extension, click at the ColorZilla extension button and then choose "Pick Color From Page" and aim at the color that you want to copy. It's fast, simple, and efficient&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FUrfNEHI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cusmk2tywenor1tmqhrh.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FUrfNEHI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cusmk2tywenor1tmqhrh.jpeg" alt="Image description" width="640" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Window Resizer
&lt;/h2&gt;

&lt;p&gt;To please all users you should make a website that will look good on all screens regardless of size&lt;br&gt;
&lt;strong&gt;&lt;em&gt;Window Resizer&lt;/em&gt;&lt;/strong&gt; is as you may have noticed extension that uses to change your standard web browser screen to maybe iPhone 6 or Laptop. It's useful for adaptive web layout&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NeCc3_Mj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmlctorqbvlo7a56d2aq.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NeCc3_Mj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmlctorqbvlo7a56d2aq.jpeg" alt="Image description" width="640" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. PerfectPixel
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;PerfectPixel&lt;/em&gt;&lt;/strong&gt; is the extension that helps you to develop your website with pixel-perfect accuracy. You can add your own project and it will make a second layer over the main website itself. Because of this, you can make your website better and better&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Page Ruler Redux
&lt;/h2&gt;

&lt;p&gt;If you want to measure the size of a block on a website it can be really awful, without &lt;strong&gt;&lt;em&gt;Page Ruler Redux&lt;/em&gt;&lt;/strong&gt; extension of course, because it helps you easily measure everything you want to, just hovers the measuring tool on the area and then drag&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1xXoqcgc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rvhcs8etcia24sq21lwf.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1xXoqcgc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rvhcs8etcia24sq21lwf.jpeg" alt="Image description" width="640" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Loom
&lt;/h2&gt;

&lt;p&gt;Sometimes just to do screenshots isn't enough and Loom with help you with it. It's actually a video recorder in your browser with &lt;br&gt;
which you can record any animations, bugs, or whatever you want&lt;br&gt;
I use this extension myself and just don't know how to do a joint project without this incredible extension&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Svg-grabber
&lt;/h2&gt;

&lt;p&gt;Once in a while, you see an SVG icon at someone else website or just deleted a file from your computer and wanna copy this. &lt;strong&gt;&lt;em&gt;Svg-Grabber&lt;/em&gt;&lt;/strong&gt; can show you every SVG icon that was used on this webpage and you can easily download them all&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2k0WPqIj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u77jg1h8ys37qjuassx9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2k0WPqIj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u77jg1h8ys37qjuassx9.png" alt="Image description" width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Momentum
&lt;/h2&gt;

&lt;p&gt;Do you remember these ugly default Chrome's New Tabs? &lt;strong&gt;&lt;em&gt;Momentum&lt;/em&gt;&lt;/strong&gt; will replace them with the most beautiful photos and inspiration phrases, also it has a small to-do list and you can connect your account with it (Todoist, etc.)&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BOTZqlJf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/25w921nmqcozccf1iz44.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BOTZqlJf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/25w921nmqcozccf1iz44.jpeg" alt="Image description" width="640" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  9. The Greatest Suspender
&lt;/h2&gt;

&lt;p&gt;If you have a slow laptop or computer then &lt;strong&gt;&lt;em&gt;The Greatest Suspender&lt;/em&gt;&lt;/strong&gt; is a must-have for you, when you afk or didn't use one of your tabs it will automatically suspend it and chrome will no longer have as much RAM as before. It has Light and Dark mode &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4n1BKgMl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kk5glq0vn5so9pxtlb6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4n1BKgMl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kk5glq0vn5so9pxtlb6b.png" alt="Image description" width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;These were, in my opinion, the best Chrome extensions that every Web Developer should try. I hope that you enjoyed this article.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>html</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How To Learn Better And Avoid Procrastination</title>
      <dc:creator>Mark Vassilevskiy</dc:creator>
      <pubDate>Fri, 19 Nov 2021 16:18:30 +0000</pubDate>
      <link>https://forem.com/abstract/how-to-learn-better-and-avoid-procrastination-546l</link>
      <guid>https://forem.com/abstract/how-to-learn-better-and-avoid-procrastination-546l</guid>
      <description>&lt;p&gt;In this article, I will tell you why Switching modes of thinking is one of the most important parts of learning, why sometimes you shouldn't chase those who have already achieved success in this area (Math, Physics, Programming, and whatever else you want), What is the "Einstellung Effect", misunderstanding and making mistakes are common things, we will be fighting with your Procrastination (when it is needed) and many other really useful outputs&lt;/p&gt;




&lt;h2&gt;
  
  
  Focused and Diffused Modes of Thinking
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The ability to Switch Attention - first to grasp the detail of the general picture being studied, and then return to the subject&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Focused - mode is very important and useful for learning, it assumes direct access to the problem being solved and uses a rational, consistent, and analytical approach.&lt;/p&gt;

&lt;p&gt;Diffused - mode is essential for learning too. It allows you to experience sudden insights and find unexpected solutions.&lt;/p&gt;

&lt;p&gt;With focused thinking, you sometimes can find yourself focusing deeply on a problem and trying to solve it in the wrong way. And with absent-minded thinking, does not allow you to clearly focus, but it allows you to get closer to the solution. The difference between them can also be explained with the help of a flashlight, which has two modes: focused and diffuse. If you are trying to understand or learn something new, then it is better to turn off precise focused thinking and turn on diffuse mode, which allows us to see the big picture. to switch from one mode to another, you need to distract yourself, for example: take a walk, do a few push-ups, eat, talk to someone or even play video games with your friends&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the "Einstellung Effect" and How to Get Rid of It
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;"Einstellung Effect" - this is when the failure in the assimilation of new concepts and solving problems is due to our fixation on the wrong approach&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Its essence is that sometimes it is difficult even to determine from which side to approach a decision. One of the common mistakes when studying math and science is that people jump into the water before they can learn to swim. In other words, they start working on the problem without reading the textbook. To remove that barrier we should switch our thinking as we said earlier. Remember that flexibility is your helper&lt;/p&gt;

&lt;p&gt;The more you try to tune your brain to creativity, the less creative your ideas will be. Relaxation is an important part of hard work&lt;/p&gt;

&lt;h2&gt;
  
  
  Confusion and Misunderstanding is a Common Reaction
&lt;/h2&gt;

&lt;p&gt;Misunderstanding is a useful part of the learning process; as soon as a student meets a dead end, he immediately gives up. It is even more difficult for excellent students in this because study has always been easy for them and they do not even realize that the feeling of misunderstanding and deadlock is a standard part of the process. Learning is overcoming mistakes. Asking the right question - 80% success&lt;/p&gt;

&lt;p&gt;"I have not failed. I've just found 10,000 ways that won't work" - Thomas Edison&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Avoid Procrastination
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Procrastination is not uncommon. If you postpone classes until later, you leave yourself time only for the superficial study of the material in a focused mode&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If procrastination is your weakness, try to remove any noises and just sit for 25 minutes, concentrating on the task, but not thinking about the solution itself, but thinking about finding these solutions, and then reward yourself by surfing the Internet for aphids. You will be surprised at how effective it is. Will you get results if you postpone your training for an essential race until the last day? So it is with mathematics and natural sciences. The habit of procrastination affects all aspects of life negatively and when you remove it you will notice Improvement everywhere&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Is Sleep So Important?
&lt;/h2&gt;

&lt;p&gt;it can be compared to a rest stop during mountain climbing, in other words, if you are in an absent-minded state, this does not mean that you can wander around and wait for you to come somewhere, but just restore strength. Also, it flushes out toxins and deepens neural connections. If you repeat the material fractured by sleep, then in a dream the brain will abundantly chop it&lt;/p&gt;

&lt;p&gt;Don't try to keep up with the excellent students&lt;/p&gt;

&lt;h2&gt;
  
  
  There are "Working" and "Long-Term" Memory
&lt;/h2&gt;

&lt;p&gt;"Working" - which is working at the moment. It can store up to 4 objects on which you need to keep attention, otherwise, the information will be forgotten, you should not hammer it over trifles. Long-term memory as a warehouse. It is capable of accommodating billions of objects, many of which will remain buried. To move information from work to long-term, spaced repetition will help us. It is better to repeat the material several times a week than to repeat it 20 times in one day&lt;/p&gt;

&lt;h2&gt;
  
  
  Ideal Memory Isn't the Better Way
&lt;/h2&gt;

&lt;p&gt;Focused thinking plus repetition gives an imprint on the memory. And if you have a phenomenal memory, then each memory imprint will be emotional and colorful, it will be difficult for you to compose an understandable portion for assimilation. In other words, you will not see the whole forest, because every tree will be alive for&lt;/p&gt;

&lt;p&gt;The illusion of competence - when a solution has already been given and the student glances over it, saying that he understood the material&lt;/p&gt;

&lt;h3&gt;
  
  
  Conceptual Portions
&lt;/h3&gt;

&lt;p&gt;It's one of the main things of learning, there are 3 steps how to format it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;The first step&lt;/em&gt;&lt;/strong&gt; - chunking is to just focus on the information&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;The second&lt;/em&gt;&lt;/strong&gt; - to understand the main idea&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;The third&lt;/em&gt;&lt;/strong&gt; - to accumulate context so that you know not only how to apply this information, but also where you can use it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;The fourth&lt;/em&gt;&lt;/strong&gt; - practice periodically, nothing can be learned without a good practice&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As Alan Baddeley said, the intention to learn only helps with the right learning strategy Knowing about gaps is the first step in closing them&lt;/p&gt;

&lt;p&gt;The illusion of competence - when a solution has already been given and the student glances over it, saying that he understood the material&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Is "Interlining" So Important For Further Training
&lt;/h2&gt;

&lt;p&gt;Practicing only one problem-solving sport, will bring you to automatism, and in the subsequent time it will be useless to waste time on it, for this, you need to combine different approaches. You must understand that the ability to use a particular method is only part of the success, you need to know when to apply it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Change Habits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Signal&lt;/em&gt;&lt;/strong&gt;. Find out why you are procrastinating. In the case of procrastination, this is an automatic habit and you don't even notice when you start scrolling through the feed-in social networks. It is useful to introduce new signals, for example, do homework right after school. Pierce Steele notes "if you protect your daily routine, it starts to protect you."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;The sequence of actions&lt;/em&gt;&lt;/strong&gt;. The key to change is planning and developing a new ritual. The Tomato Method - This can be especially useful when you are training a new response to signals. Difficult classes should not start on an empty stomach&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Reward&lt;/em&gt;&lt;/strong&gt;. Can you win a bet with yourself? Spend the whole evening watching TV without remorse or guilt?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;em&gt;Faith&lt;/em&gt;&lt;/strong&gt;. Faith in your strength is needed. Overcoming the cravings for old, comfortable habits can be done by believing in a new approach. One of the most effective methods is mental comparisons when you compose the current state of affairs with which you want to achieve&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;I hope that you enjoyed this article. These are some of the most useful tips for better learning that will help you. Don't forget about like :)&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>discuss</category>
      <category>career</category>
      <category>motivation</category>
    </item>
    <item>
      <title>13 Sublime Text Plugins that Every Developer Must Use</title>
      <dc:creator>Mark Vassilevskiy</dc:creator>
      <pubDate>Fri, 19 Nov 2021 15:39:17 +0000</pubDate>
      <link>https://forem.com/abstract/13-sublime-text-plugins-that-every-developer-must-use-3ei0</link>
      <guid>https://forem.com/abstract/13-sublime-text-plugins-that-every-developer-must-use-3ei0</guid>
      <description>&lt;p&gt;Sublime Text 3 is one of the most popular free IDEs for writing your code. You can use it for opening files (.txt and more), as well as for small projects that use Python and Web-dev. Earlier, I had written an article about VSCode Extensions. However, if you prefer to use Sublime Text 3 rather than VSCode, then this compilation of the 13 plugins is exactly for you.&lt;br&gt;
I think these are the most common and the greatest Sublime Text 3 plugins that every developer (doesn't matter who are you - full-stack developer or data scientist) should work with.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Package Control
&lt;/h2&gt;

&lt;p&gt;When you just install Sublime Text 3, you should immediately install the Package Control plugin. It is the most basic plugin that will allow you to install, delete, redact other plugins easily and without any problems. As I said earlier, after installing this plugin you don't have to do this anymore.&lt;br&gt;
Use command ctrl+shift+p (for Windows or Linux) or cmd+shift+p (For Mac).&lt;br&gt;
Type "Install-Package Control" and press enter.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xhEHJtjt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u0rkrjkq4yz5rtcxvhnx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xhEHJtjt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u0rkrjkq4yz5rtcxvhnx.png" alt="Image description" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Emmet
&lt;/h2&gt;

&lt;p&gt;This plugin is second in popularity and one of the most useful. Emmet helps you to write a lot less. It lets you use abbreviations that automatically deflate into fully functional code.&lt;br&gt;
You will need to use Package Control as we mentioned earlier. Write "Install-Package Control" again and then write "Emmet" and press enter.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PgcSqh4i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uamy9s1fpsoqv8ccul7f.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PgcSqh4i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uamy9s1fpsoqv8ccul7f.gif" alt="Image description" width="640" height="209"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JmQEitfL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/stdkogapxreyivcb56c5.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JmQEitfL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/stdkogapxreyivcb56c5.gif" alt="Image description" width="640" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Alignment
&lt;/h2&gt;

&lt;p&gt;Alignment is a useful tool for aligning multiple sections or multi-line sections, which means you can align multiple selections, or lines, via delimiter such as =. Simply type ctrl + alt + a on Windows, or cmd + ctrl + a on a Mac. And again use "Install-Package Control" command to install it.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--v8yy53GE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7buzytkg60v0p0fn9jqs.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--v8yy53GE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7buzytkg60v0p0fn9jqs.gif" alt="Image description" width="800" height="170"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Git
&lt;/h2&gt;

&lt;p&gt;This plugin brings Git into Sublime Text 3, so you don't need to go back and forth between the command line and your text editor. To get started quickly, install the plugin and use the Command Palette to launch your Git commands&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--kfFAGTS_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7c6x1r4nogmto0pz15ml.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--kfFAGTS_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7c6x1r4nogmto0pz15ml.png" alt="Image description" width="800" height="328"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5. JSHint
&lt;/h2&gt;

&lt;p&gt;JSHint is a really good plugin without which I can't normally write JavaScript code. As you might have noticed it helps with your JavaScript code, specifically it shows where you made an error and also proposes to you how to fix it.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iZDSyC8---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8y9mv0n68lahs1rcno4j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iZDSyC8---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8y9mv0n68lahs1rcno4j.png" alt="Image description" width="797" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. ColorPicker
&lt;/h2&gt;

&lt;p&gt;ColorPicker a really good plugin for Sublime Text 3 because it adds a color panel to your CSS code. To open the color picker, simply type cmd+shift+c on a Mac, or ctrl+shift+c on Windows or Linux.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SQh_kK6z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qxifa6mnz2rlsn30p7fi.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SQh_kK6z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qxifa6mnz2rlsn30p7fi.jpeg" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Terminal
&lt;/h2&gt;

&lt;p&gt;The Terminal plugin lets you open your project folders in the terminal directly from Sublime Text 3 - with a hotkey. It is a very helpful plugin when you need to execute command lines inside the given folder.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xXuD-vZy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mkxtvo2iyz1nfevpand4.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xXuD-vZy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mkxtvo2iyz1nfevpand4.gif" alt="Image description" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  8. BracketHighlighter
&lt;/h2&gt;

&lt;p&gt;When you work with many count of brackets it's very difficult and painful to find the right brackets. BracketHighlighter underscores and highlights all brackets.&lt;br&gt;
BracketHighlighter matches a variety of brackets such as: [], (), {}, "", '', , and even custom brackets.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cEq7pdMI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sg2arqpt0raz3ur33eob.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cEq7pdMI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sg2arqpt0raz3ur33eob.png" alt="Image description" width="769" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  9. LiveReload
&lt;/h2&gt;

&lt;p&gt;A small but necessary plugin for most web developers is LiveReload. Instead of having to refresh your browser every time you make a tiny change to a file in order to see results, LiveReload will simply sync with your browser of choice and instantly display the updated results.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. AutoFileName
&lt;/h2&gt;

&lt;p&gt;The AutoFileName plugin completes filenames automatically. It triggers a dropdown with file names relative to your existing file and the subsequent path as you type. For example, when you want to write something for the url attribute in your HTML tag, it will propose the name of the file in your folder.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tvZXhbC7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jcq5bt7c81ypjasvtxgi.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tvZXhbC7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jcq5bt7c81ypjasvtxgi.jpeg" alt="Image description" width="554" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  11. SideBar​Enhancements
&lt;/h2&gt;

&lt;p&gt;The SideBarEnhancements plugin adds a new window to your Sublime Text 3 where you can easily manage your folders. Also, it provides delete options such as "Move to trash", includes an "Open with…", gives you the ability to move files and more.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1nrPGV87--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9rvv79yguvqgl9abpmap.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1nrPGV87--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9rvv79yguvqgl9abpmap.jpeg" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  12. A File Icon
&lt;/h2&gt;

&lt;p&gt;This plugin is great for easily scanning what files you have in your project. It simply adds pretty and customizable icons to supported files in your project sidebar.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0ukMEVsT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n8wf7f7egv2g0c9uzuin.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0ukMEVsT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n8wf7f7egv2g0c9uzuin.png" alt="Image description" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  13. Theme - One Dark
&lt;/h2&gt;

&lt;p&gt;And the last plugin for today is "One Dark", which is a theme for Sublime Text. This plugin doesn't have any functionality but adds a really beautiful interface with which you can code in a prettier environment.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0ciO1bUC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/latkngo1g46gon8om8eh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0ciO1bUC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/latkngo1g46gon8om8eh.png" alt="Image description" width="800" height="563"&gt;&lt;/a&gt;&lt;/p&gt;




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

&lt;p&gt;These were the most common and useful plugins for Sublime Text 3 - one of the most popular IDEs. I hope you enjoyed this article. Let me know in the comments if you want more articles like this.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>python</category>
    </item>
    <item>
      <title>Python features you'll want to repeat</title>
      <dc:creator>Vadim Kolobanov</dc:creator>
      <pubDate>Tue, 16 Nov 2021 15:07:37 +0000</pubDate>
      <link>https://forem.com/abstract/python-features-youll-want-to-repeat-418g</link>
      <guid>https://forem.com/abstract/python-features-youll-want-to-repeat-418g</guid>
      <description>&lt;h2&gt;
  
  
  File server on a computer with mobile access
&lt;/h2&gt;

&lt;p&gt;You can access your file system by running a file server on your computer. Navigate to the desired directory that you want to access and run the following command:&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;# python version &amp;gt;=  3.X
&lt;/span&gt;&lt;span class="n"&gt;python&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;server&lt;/span&gt;
&lt;span class="c1"&gt;# python version &amp;gt;=  3.X
&lt;/span&gt;&lt;span class="n"&gt;python3&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;server&lt;/span&gt; &lt;span class="c1"&gt;#for Linux
&lt;/span&gt;
&lt;span class="c1"&gt;# If Python version &amp;gt;= 2.X and &amp;lt; 3.X
&lt;/span&gt;&lt;span class="n"&gt;python&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="n"&gt;SimpleHTTPServer&lt;/span&gt;
&lt;span class="c1"&gt;#default port: 8000
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command starts a file server that can be accessed on the same network. To access your files on a mobile device, simply connect to the same network (Wi-Fi or use the phone's access point on a laptop). Now open the browser in your phone.&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="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;your&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;computer&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ip&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;port&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;Check your IP by running - &lt;strong&gt;ifconfig&lt;/strong&gt;. Check your local IP&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;192.168.43.155:8000&lt;br&gt;
And on the mobile phone, you will see the current directory&lt;/p&gt;


&lt;h2&gt;
  
  
  Convert CSV to JSON 1 line
&lt;/h2&gt;

&lt;p&gt;If you're a programmer, you'll probably be lazy and want to automate pretty much everything you can, right?&lt;/p&gt;

&lt;p&gt;Don't worry, the python will cover you. There are a lot of things that you can automate in just 4-5 lines of code. From installing cron jobs and reminders to uploading your favorite YouTube videos, you can do it all with a few lines in python.&lt;/p&gt;

&lt;p&gt;Example - convert CSV to JSON&lt;br&gt;
You can convert a CSV file to JSON with just one command in Python!&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;python&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="s"&gt;"import csv,json;print json.dumps(list(csv.reader(open('your_csv_file.csv'))))"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace it with &lt;em&gt;anyfile.csv&lt;/em&gt; and you will get JSON output!&lt;/p&gt;

&lt;p&gt;Easy, right?&lt;/p&gt;




&lt;h2&gt;
  
  
  Comics
&lt;/h2&gt;

&lt;p&gt;Yes, these are comics in python!&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="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;antigravity&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--70i0PQ8m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/blg38mx4cjjnlkabjwl1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--70i0PQ8m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/blg38mx4cjjnlkabjwl1.png" alt="Comics" width="518" height="588"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Will they add brackets in python?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;__future__&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;braces&lt;/span&gt;
  &lt;span class="n"&gt;File&lt;/span&gt; &lt;span class="s"&gt;"&amp;lt;stdin&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="nb"&gt;SyntaxError&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;chance&lt;/span&gt;

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

&lt;/div&gt;






&lt;h2&gt;
  
  
  A simple life lesson
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;this&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;love&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="n"&gt;love&lt;/span&gt;
&lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;love&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="bp"&gt;False&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;love&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;
&lt;span class="bp"&gt;False&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;love&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;
&lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="o"&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;love&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt; &lt;span class="ow"&gt;or&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;love&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="n"&gt;love&lt;/span&gt;  
&lt;span class="bp"&gt;True&lt;/span&gt;


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

&lt;/div&gt;



&lt;h3&gt;
  
  
  Put on Heart if you liked it and you learned something new!
&lt;/h3&gt;

&lt;h3&gt;
  
  
  You can also follow &lt;a href="https://dev.to/vadimkolobanov"&gt;ME&lt;/a&gt; to receive notifications about new interesting articles.
&lt;/h3&gt;




&lt;h3&gt;
  
  
  FAQ
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;I am a beginner, how should I learn Python?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Look into the following series:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/vadimkolobanov/series/15329"&gt;Learning Python&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15349"&gt;Step by Step to Junior&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15331"&gt;Ideas&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can we cooperate with you?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you have interesting projects and you need a python (web)developer, then you can contact me by &lt;strong&gt;&lt;a href="//titanyforgame@gmail.com"&gt;mail&lt;/a&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;a href="https://discord.gg/szEuVAhatW"&gt;discord&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://www.linkedin.com/in/vadzim-hlobuz-0b44531b7/"&gt;LinkedIn&lt;/a&gt;&lt;/strong&gt; for cooperation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect to me on&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.facebook.com/neo.skarynsky"&gt;Write me on Face....oh...Meta&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/decodesperato"&gt;My Twitter&lt;/a&gt; &lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>jokes</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Soft skills that will improve your work and life. With self-check</title>
      <dc:creator>Vadim Kolobanov</dc:creator>
      <pubDate>Mon, 15 Nov 2021 20:38:08 +0000</pubDate>
      <link>https://forem.com/abstract/soft-skills-that-will-improve-your-work-and-life-with-self-check-24h6</link>
      <guid>https://forem.com/abstract/soft-skills-that-will-improve-your-work-and-life-with-self-check-24h6</guid>
      <description>&lt;p&gt;Being a programmer in 2021 is not the same as ten years ago. The world is constantly changing, and many of the skills that were important back then have faded into the background over time. And what skills should a developer have in order to remain a sought-after specialist, for example, in five years? If you don't have them, maybe you should think about their development now?&lt;/p&gt;




&lt;p&gt;In this post, I want to talk about skills that will help you stay in demand as a developer even in conditions of constant change. Usually, IT specialists rely on the scientific and technical base, which is important for understanding the functioning of the system as a whole. This includes knowledge of the operating principles of the OS, the network stack, databases, and the mathematical apparatus that underlies any algorithm or protocol, etc. However, hard skills alone are not enough — communication skills, the ability to build a workflow with a team and/or strangers, flexibility in decision-making, and other soft skills are also needed. Moreover, it is important not just to have the — soft skills that should be integrated into the overall development process and go in close conjunction with professional skills. Seven of them will be discussed today.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. Comprehensive problem solving
&lt;/h1&gt;

&lt;p&gt;The demand for specialists who are able to approach the task from different sides is steadily growing. Most people cannot solve complex problems because they often use technologies aimed at the process, not the result. A developer using an integrated approach can not only identify the problem, but also determine its causes, and most importantly, "calculate" further steps.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Bn7BRpYb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3fp8141tlxdtqi418ckc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Bn7BRpYb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3fp8141tlxdtqi418ckc.png" alt="Comprehensive problem" width="880" height="550"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-test:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Colleagues complain about a recurring problem. If it arose in your team, where would you start solving it?&lt;/li&gt;
&lt;li&gt;Do you calculate the possible risks when choosing a certain solution?&lt;/li&gt;
&lt;li&gt;How to understand that you are really solving the problem, and not eliminating its "symptoms"?&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  2. The ability to convince
&lt;/h1&gt;

&lt;p&gt;The ability to convince — that is, to present your idea, make arguments and tell a story so that listeners are passionate - is necessary not only for those who constantly communicate with clients. This skill will help to defend your point of view, inspire like-minded people. And in order for colleagues to listen to you not out of politeness, but attentively and intently, it is highly desirable to make your story not only convincing but also interesting.&lt;/p&gt;

&lt;p&gt;For example: when preparing a presentation about a release, you try not to load your colleagues with a dry list of facts with technical details, but build a story: add explanations, vivid examples, think about how you will manage the attention of listeners, and prepare arguments for answers to possible questions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wpMhzM3t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/epoaw7d4ri3lv2eqjkez.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wpMhzM3t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/epoaw7d4ri3lv2eqjkez.png" alt="Convince" width="880" height="586"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-test:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Have you noticed that you are interrupted at meetings? Was there a feeling that no one was listening to you?&lt;/li&gt;
&lt;li&gt;Do you try to give illustrative cases when defending your point of view?&lt;/li&gt;
&lt;li&gt;How will you start the story about yourself? Rehearse a small speech.&lt;/li&gt;
&lt;li&gt;Remember the case when, after a conversation with you, a colleague changed his mind. What exactly helped you convince him?&lt;/li&gt;
&lt;li&gt;How do you respond to objections?&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  3. Cooperation and teamwork skills
&lt;/h1&gt;

&lt;p&gt;I think many will agree that the community plays a significant role in the IT environment: experienced developers help colleagues and willingly share their experiences. Nevertheless, there is a stereotype that it is normal for a programmer to be closed, but it is difficult to interact with a closed person since he almost never offers ideas and is not inclined to discuss current processes. Therefore, more and more companies are paying attention to whether a specialist is able to work in a team, whether he understands colleagues as well as the project itself, whether he is able to give and receive feedback.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n992f1li--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lz364liptut1mirt4rfn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n992f1li--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lz364liptut1mirt4rfn.png" alt="Team" width="880" height="622"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-test:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You need to talk to a colleague you didn't know before. Where will you start?&lt;/li&gt;
&lt;li&gt;One of the team members repeatedly passes the work with errors. What will you do?&lt;/li&gt;
&lt;li&gt;What words will you choose to make the criticism sound friendly?&lt;/li&gt;
&lt;li&gt;Do you celebrate the successes of your colleagues and talk about them publicly?&lt;/li&gt;
&lt;li&gt;What helps you feel the mood of the interlocutor and tune in to his wave?&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  4. Ability to plan your work
&lt;/h1&gt;

&lt;p&gt;Employers value specialists who are able to plan, give accurate estimates of the complexity of tasks and adhere to deadlines regardless of the language, technologies, and methodologies used.&lt;/p&gt;

&lt;p&gt;Example: to organize the work of a group (if you are a leader) or your own, you plan sprints, make sure that there is a time interval between the task and the solution, which will allow you to organize things and prioritize. During the day, you stick to what you have planned and do not get distracted by other requests so that the work becomes more calm and predictable.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ouTGVo2C--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d5asuy6cdzumda2xj36e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ouTGVo2C--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d5asuy6cdzumda2xj36e.png" alt="Time Management" width="880" height="619"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-test:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You are asked to name the deadlines for the project's readiness. What will guide you in the assessment?&lt;/li&gt;
&lt;li&gt;It's the middle of the working day, and suddenly a colleague sends you a link. You know that there is a useful and important article there. What will you do?&lt;/li&gt;
&lt;li&gt;Do you make work and personal plans for the day/week/month? How many of them can be completed?&lt;/li&gt;
&lt;li&gt;Are you familiar with the Eisenhower matrix time planning method?&lt;/li&gt;
&lt;li&gt;Do you know how much time it takes you on average for each type of task?&lt;/li&gt;
&lt;li&gt;How many minutes/hours a day do you spend on social media? Do you track these statistics in any way? Do you use time trackers?&lt;/li&gt;
&lt;li&gt;Do you practice taking a break from social networks and the Internet, digital detox?&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  5. Critical thinking
&lt;/h1&gt;

&lt;p&gt;The ability to think critically is one of the key skills in our time. In a world where knowledge is power and the flow of information increases exponentially, you need to be able to ask questions, compare data and be critical of what others write. If we talk about professional development, critical thinking allows you to determine which set of skills you need. Someone needs clean code, knowledge of the version control system, and system thinking to work, and someone who is engaged in high-tech projects needs deep immersion in special sections of mathematics or physics.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GbqbzQvn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jan3jd8cdxc5ve6q5lbu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GbqbzQvn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jan3jd8cdxc5ve6q5lbu.png" alt="Thinking" width="880" height="587"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-test:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do you think when reading materials on the Internet about who publishes them and for what purpose?&lt;/li&gt;
&lt;li&gt;How do you determine which information can be trusted? What criteria do you rely on when choosing information sources?&lt;/li&gt;
&lt;li&gt;Do you check website addresses and connection security when clicking on unfamiliar links?&lt;/li&gt;
&lt;li&gt;Do you have a list of trusted sources of information?&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  6. Continuous learning — long life learning
&lt;/h1&gt;

&lt;p&gt;Many leading companies seek to hire full-stack developers who work freely with different technologies and platforms. Such specialists understand the principles of any development, starting from the network core level and ending with the interface level. This is impossible to achieve if you do not make it a rule to constantly learn new things. A sought-after developer is determined not only by the possession of a rare stack but also by the ability to easily "switch" between different languages and the desire to learn new tools every day.For example: although Java and C# have occupied a significant part of the market for several years, IT companies are increasingly using newer technologies (Kotlin, Swift, etc.). And, logically, developers who are proficient in several languages will give odds to those who are familiar with one or two technologies. In five years, new stacks will surely appear, so to remain in demand, it is important to constantly learn and be able to choose the right tool for solving a specific task, based on a comprehensive analysis of factors.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4yRUDUpe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tu5uxls1jh6vf5vi13mb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4yRUDUpe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tu5uxls1jh6vf5vi13mb.png" alt="Learning" width="880" height="529"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-test:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do you participate in the development of open-source projects? How many commits have you made over the past year? How many bugs and suggestions have you created in the tracker? How many questions were answered?&lt;/li&gt;
&lt;li&gt;How long have you been studying an unfamiliar technology for yourself?&lt;/li&gt;
&lt;li&gt;What would you do if you found out about the emergence of a new language that is gaining popularity?&lt;/li&gt;
&lt;li&gt;How do you react if you are offered to go to a training event?&lt;/li&gt;
&lt;li&gt;What professional conferences do you attend?&lt;/li&gt;
&lt;li&gt;What have you learned in your professional field over the past six months?&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  7. Compliance with work-life balance
&lt;/h1&gt;

&lt;p&gt;Compliance with work-life balance and your well-being directly affect productivity: those who take care of themselves usually live longer, work more efficiently and have time to pay due attention to other important matters. The topic of health is closely connected with all spheres of life, including work. I won't say anything about biohacking and implanting chips under the skin (this is the topic of a separate post — or even more than one), this item is more about attention to the body, to the psycho-emotional state, and also that the separation of personal and professional life helps them mutually support each other. Try to be more tolerant of others, especially if their point of view contradicts yours, express feelings without harming others, and be aware of what you can influence and what you can't. Find a hobby to your liking and remember that your career success will partly depend on how your life is organized after work and study.&lt;/p&gt;

&lt;p&gt;For example: in order to feel cheerful and have more time, you go to bed on time, do not use the phone two hours before bedtime and do not grab it first thing in the morning, do not overeat. Thanks to this, you stay attentive and energetic longer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4IDAaTfp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cc0jekhb0eaxa43bxoei.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4IDAaTfp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cc0jekhb0eaxa43bxoei.png" alt="Work-life" width="880" height="587"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-test:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When was the last time you underwent a comprehensive examination?&lt;/li&gt;
&lt;li&gt;What do you do to ensure that your diet is balanced?&lt;/li&gt;
&lt;li&gt;How many hours a day do you sleep? Do you get enough sleep? If not, what can you do now to improve the quality of your sleep?
In the morning you feel cold, but you need to go to work. What will you do?&lt;/li&gt;
&lt;li&gt;Do you work on vacation? Do you finish projects on weekends? Do you write to work chats in the evenings?&lt;/li&gt;
&lt;li&gt;What are your hobbies? Have you been interested in something new for yourself for a long time?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This skill set does not appear with birth and is not strictly mandatory. But the development of these skills will not only give you success in work or in a team but will also make your life much better.&lt;/p&gt;

&lt;h3&gt;
  
  
  Put on Heart if you liked it and you learned something new!
&lt;/h3&gt;

&lt;h3&gt;
  
  
  You can also follow &lt;a href="https://dev.to/vadimkolobanov"&gt;ME&lt;/a&gt; to receive notifications about new interesting articles.
&lt;/h3&gt;




&lt;h4&gt;
  
  
  FAQ
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;I am a beginner, how should I learn Python?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Look into the following series:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/vadimkolobanov/series/15329"&gt;Learning Python&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15349"&gt;Step by Step to Junior&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15331"&gt;Ideas&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can we cooperate with you?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you have interesting projects and you need a python (web)developer, then you can contact me by &lt;strong&gt;&lt;a href="//titanyforgame@gmail.com"&gt;mail&lt;/a&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;a href="https://discord.gg/szEuVAhatW"&gt;discord&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://www.linkedin.com/in/vadzim-hlobuz-0b44531b7/"&gt;LinkedIn&lt;/a&gt;&lt;/strong&gt; for cooperation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect to me on&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.facebook.com/neo.skarynsky"&gt;Write me on Face....oh...Meta&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/decodesperato"&gt;My Twitter&lt;/a&gt; &lt;/p&gt;

</description>
      <category>programming</category>
      <category>beginners</category>
      <category>motivation</category>
      <category>leadership</category>
    </item>
    <item>
      <title>Instructive Python code examples for Beginners</title>
      <dc:creator>Vadim Kolobanov</dc:creator>
      <pubDate>Wed, 10 Nov 2021 20:09:30 +0000</pubDate>
      <link>https://forem.com/abstract/instructive-python-code-examples-p8a</link>
      <guid>https://forem.com/abstract/instructive-python-code-examples-p8a</guid>
      <description>&lt;p&gt;Photo by &lt;a href="https://unsplash.com/@pakata?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Pakata Goh&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/python?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hi guys! I want to show you beautiful and instructive python code examples. Using them in training, you will discover new language features and your code will look more professional.&lt;br&gt;
Let's get started!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. We get vowels&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This example returns the found vowels "a e i o u" in the string. This can be useful when searching for or detecting vowels.&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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get_vowels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;each&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;each&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;each&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="s"&gt;"aeiou"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;get_vowels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"animal"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# [a, i, a]
&lt;/span&gt;&lt;span class="n"&gt;get_vowels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"sky"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# []
&lt;/span&gt;&lt;span class="n"&gt;get_vowels&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"football"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# [o, o, a]
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. The first letter in uppercase&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This works with a string of one or more characters and will be useful when analyzing text or writing data to a file. You can refine this code and make all letters uppercase to use case-independent search.&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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;capitalize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;capitalize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"shop"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# [Shop]
&lt;/span&gt;&lt;span class="n"&gt;capitalize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"python programming"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# [Python Programming]
&lt;/span&gt;&lt;span class="n"&gt;capitalize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"how are you!"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# [How Are You!]
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. Print the line N times&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Loops are a hard part of the language. You don't have to use them to output strings.&lt;/p&gt;

&lt;p&gt;Look how it's easy&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;n&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;string&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"Hello World "&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;string&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;#Hello World Hello World Hello World Hello World Hello World
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;4. Combine two dictionaries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Many of you guys, in order to combine 2 sequences, start overwriting one into the other. And again cycles, conditions, append and other horror... Catch a life hack, and please learn correctly!&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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;merge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dic1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;dic2&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;dic1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;dic2&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;dic1&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;1&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="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s"&gt;"Dev"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;dic2&lt;/span&gt;&lt;span class="o"&gt;=&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="s"&gt;"Python"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s"&gt;"Programming"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="c1"&gt;# In these examples, Python merges dictionary keys
# in the order listed in the expression, overwriting 
# duplicates from left to right.
&lt;/span&gt;&lt;span class="n"&gt;merge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dic1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;dic2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# {1: 'Hello', 2: 'Dev', 3: 'Python', 4: 'Programming'}
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;5. Calculate the execution time&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This example is useful when you need to know how long it takes to execute a program or 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="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;time&lt;/span&gt;
&lt;span class="n"&gt;start_time&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;fun&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;
    &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;
    &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;
&lt;span class="n"&gt;fun&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;end_time&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;timetaken&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;end_time&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;start_time&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Your program takes: "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timetaken&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# 0.0345
# I love you Dev =) 
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;6. Exchange of values between variables&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Learn to use fewer variables guys. This option will look more elegant&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;a&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="n"&gt;b&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;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# a= 4, b =3
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;7. Checking duplicates&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here I draw attention once again to the fact that set contains immutable data. Just remember this&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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;check_duplicate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lst&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lst&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lst&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;check_duplicate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&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;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&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;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="c1"&gt;# True
&lt;/span&gt;&lt;span class="n"&gt;check_duplicate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&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;3&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="c1"&gt;# False
&lt;/span&gt;&lt;span class="n"&gt;check_duplicate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&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;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&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="c1"&gt;# False
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;8. Filtering False values (or other)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An easy way to remove values from the list. Beautiful, elegant, and will show your code as the work of a professional.&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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;Filtering&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lst&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;None&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;lst&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;lst&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="bp"&gt;None&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&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;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;""&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;7&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;Filtering&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lst&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#[1, 3, 5, 7]
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;9. Size in bytes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This example returns the length of a string in bytes, which is convenient when you need to know the size of a string 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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;ByteSize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;string&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;string&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"utf8"&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;ByteSize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Python"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#6
&lt;/span&gt;&lt;span class="n"&gt;ByteSize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Data"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#4
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;10. Load memory&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It will be useful if you want to keep track of the memory that your variables occupy. The main thing is to remember:&lt;br&gt;
&lt;strong&gt;Simple is better than complex.&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Complex is better than complicated.&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="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;sys&lt;/span&gt;
&lt;span class="n"&gt;var1&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"Python"&lt;/span&gt;
&lt;span class="n"&gt;var2&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;
&lt;span class="n"&gt;var3&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getsizeof&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="c1"&gt;#55
&lt;/span&gt;&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getsizeof&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="c1"&gt;#28
&lt;/span&gt;&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getsizeof&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="c1"&gt;#28
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;does not work with a recursive function&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;11. Anagrams&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This code is useful for finding Anagrams. An anagram is a word obtained by rearranging the letters of another word.&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="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Counter&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;anagrams&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;str1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;str2&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;str1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;str2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;anagrams&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"abc1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"1bac"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# True
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;12. Sorting the list&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This example sorts the list. Sorting is a frequently used task that can be implemented with many lines of code with a loop, but you can speed up your work using the built-in sorting method. Study Python deeper! And you will be happy.&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;my_list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;"leaf"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"cherry"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"fish"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;my_list1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;"D"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"C"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"B"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"A"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;my_list2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&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;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&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="n"&gt;my_list&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="c1"&gt;# ['cherry', 'fish', 'leaf']
&lt;/span&gt;&lt;span class="n"&gt;my_list1&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="c1"&gt;# ['A', 'B', 'C', 'D']
&lt;/span&gt;&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;reverse&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="c1"&gt;# [5, 4, 3, 2, 1]
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;13. Converting a comma-separated list to a string&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This code converts a comma-separated list into a single string. It is very convenient to list all the values of the list in one line. And besides, JOIN is a useful method in python&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;my_list1&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;"Python"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"JavaScript"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"C++"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;my_list2&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;"Java"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"Flutter"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"Swift"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="c1"&gt;#example 1
&lt;/span&gt;&lt;span class="s"&gt;"My favourite Programming Languages are"&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;", "&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list1&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="c1"&gt;#My favourite Programming Languages are Python, JavaScript, C++
&lt;/span&gt;&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;", "&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list2&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;  &lt;span class="c1"&gt;# Java, Flutter, Swift
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;14. Shuffling the list&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Everything is clear from the name here. But you didn't know that, did you? Really?&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="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;random&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;shuffle&lt;/span&gt;
&lt;span class="n"&gt;my_list1&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&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;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&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;6&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;my_list2&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;"A"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"B"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"C"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s"&gt;"D"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;shuffle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# [4, 6, 1, 3, 2, 5]
&lt;/span&gt;&lt;span class="n"&gt;shuffle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# ['A', 'D', 'B', 'C']
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;15 Splitting into fragments&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This example will show how to split the list into fragments and divide it into smaller parts. Not so useful, but interesting&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="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;my_list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&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;size&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;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&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="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
&lt;span class="n"&gt;my_list&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&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;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4&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;6&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;my_list&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="c1"&gt;# [[1, 2], [3, 4], [5, 6]]
&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;h3&gt;
  
  
  Put on Heart if you liked it and you learned something new!
&lt;/h3&gt;
&lt;h3&gt;
  
  
  You can also follow &lt;a href="https://dev.to/vadimkolobanov"&gt;ME&lt;/a&gt; to receive notifications about new interesting articles.
&lt;/h3&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  FAQ
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;I am a beginner, how should I learn Python?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Look into the following series:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/vadimkolobanov/series/15329"&gt;Learning Python&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15349"&gt;Step by Step to Junior&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15331"&gt;Ideas&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Would you mentor me?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Of course I am ready to participate in the training. The big difficulty is that English is not my native language and it will be possible to communicate through a translator. &lt;strong&gt;Write to discord, please. We have a discord community for you&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Would you like to collaborate on our organization?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you have interesting ideas, we will be happy to invite your writing from our organization. Write in private messages or in social networks below&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you have interesting projects and you need a backend developer, then you can contact me by mail or in discord for cooperation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect to me on&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.facebook.com/neo.skarynsky"&gt;Write me on Face....oh...Meta&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/decodesperato"&gt;My Twitter&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Discord: vadimkolobanov#5875&lt;/p&gt;

&lt;h2&gt;
  
  
  Be responsive! Mark your interest in others and others will mark you!
&lt;/h2&gt;

</description>
      <category>programming</category>
      <category>codenewbie</category>
      <category>beginners</category>
      <category>python</category>
    </item>
    <item>
      <title>Tips for beginner programmers from a professional</title>
      <dc:creator>Vadim Kolobanov</dc:creator>
      <pubDate>Tue, 09 Nov 2021 18:09:20 +0000</pubDate>
      <link>https://forem.com/abstract/tips-for-beginner-programmers-from-a-professional-g11</link>
      <guid>https://forem.com/abstract/tips-for-beginner-programmers-from-a-professional-g11</guid>
      <description>&lt;p&gt;Hello everyone, I have accumulated in my observations a lot of useful tips on how to start learning programming, how to move on. I will tell you from my experience what you can do and what you can't do. How and where to go next if you get bored or you just get lost. I am sure that each of them will help both beginners and confident programmers. You will still get this experience, I'm just giving you a chance to do it earlier and not on your mistakes.&lt;/p&gt;

&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Don't learn programming on other people's projects by video. This is a very bad approach. A person who shows his own development may not know the right solution and teach it to others, and you will not even know about it, because you will remember the wrong approach.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Do not try to create your own project that you came up with during the training. You will learn only what is useful to you for it, but you will know programming very narrowly. I advise you to learn the language using simple mathematical examples or problems. You can find good practice and elegant solutions on sites like Hackerrank or CodeWars. Their people arrange puzzles according to difficulty levels, and if you have solved them (or not), you can see what the most optimal solution will be. It helps to learn how to act effectively and solve other people's problems, and in the comments, you will see a lot of ingenious solutions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Try to learn consistently. Even if you are not interested in some topic in the language - force yourself to understand it. not to learn by heart, but to understand what its idea is, what is the meaning of this functionality&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Pay more attention to books, not articles or videos. In the books, all explanations are structured and go sequentially. Otherwise, you will just learn pieces of the same pie, after a week you will not be able to reproduce it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Try to reproduce any new function or information in the code yourself. Do it yourself, what have you learned. You've learned the list - make it up, play with it. Come up with a simple idea of where to use it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Do not burn out. If you get bored, just switch to another idea, but be sure to come back in a few days. It helps.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Communicate with the community. Look for people with common interests. Alone you may never find out what other people know&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Don't close in one language guys! Try to look around your tongue. Often people find themselves not in what they started to learn. They find their interest in what they stumbled upon in the process of the main study. A good programmer knows several languages or technologies.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Do not follow someone's training on the heels. When learning something new, try to use this information yourself and not rewrite the example from the video.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Don't learn to program for the money. Programming is your hobby, it's your entertainment, your favorite activity in the evening after work. Money should be a reward for effort, not the result of work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Don't be afraid to offer yourself in other people's ideas and projects. If you already know the basics of programming well but are in doubt, remember - on the other hand, the same as you. He is strong in one thing, but maybe he is weak to your strong side. You will never know how strong you are if you are not appreciated by others.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Look for a way to motivate yourself! If you feel that you have lost interest - start a new project, come up with an interesting idea, write an article about your skills. Try yourself in Freelancing. Don't be afraid to screw up. You won't get anything if you don't do anything. Close your eyes and break into this world of programming with a run if you're scared)&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Put on Heart if you liked it and you learned something new!
&lt;/h3&gt;

&lt;h3&gt;
  
  
  You can also follow &lt;a href="https://dev.to/vadimkolobanov"&gt;ME&lt;/a&gt; to receive notifications about new interesting articles.
&lt;/h3&gt;




&lt;blockquote&gt;
&lt;h4&gt;
  
  
  FAQ
&lt;/h4&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;I am a beginner, how should I learn Python?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Look into the following series:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/vadimkolobanov/series/15329"&gt;Learning Python&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15349"&gt;Step by Step to Junior&lt;/a&gt;&lt;br&gt;
&lt;a href="https://dev.to/vadimkolobanov/series/15331"&gt;Ideas&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Would you mentor me?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Of course I am ready to participate in the training. The big difficulty is that English is not my native language and it will be possible to communicate through a translator&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Would you like to collaborate on our organization?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you have interesting ideas, we will be happy to invite your writing from our organization. Write in private messages or in social networks below&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you have interesting projects and you need a backend developer, then you can contact me by mail or in discord for cooperation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect to me on&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.facebook.com/neo.skarynsky"&gt;Write me on Face....oh...Meta&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/decodesperato"&gt;My Twitter&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Discord: vadimkolobanov#5875&lt;/p&gt;

&lt;h2&gt;
  
  
  Be responsive! Mark your interest in others and others will mark you!
&lt;/h2&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How To Master Python</title>
      <dc:creator>Mark Vassilevskiy</dc:creator>
      <pubDate>Tue, 09 Nov 2021 07:18:18 +0000</pubDate>
      <link>https://forem.com/abstract/how-to-master-python-4l79</link>
      <guid>https://forem.com/abstract/how-to-master-python-4l79</guid>
      <description>&lt;p&gt;Python is one of the most popular and friendly programming languages, I learn Python myself a few years ago and it was my first programming language too, however, there weren't any roadmaps or quick tutorials/courses on how to learn Python.&lt;br&gt;
That's why I provide you these top tips that helped me and 100% will help you of learning not only Python but any other subject that you want.&lt;/p&gt;

&lt;p&gt;At the end of this article, I'll leave a link to my roadmap that I built for you, where you can find all sites, book, courses which I will tell you about in this article.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Understand Why
&lt;/h2&gt;

&lt;p&gt;Firstly, you need to know why you want to learn Python and whom you want to become when you will already know Python. The reason like: I want to learn Python because it's easy (actually not so easy) and earn millions of dollars per year. That doesn't work so.&lt;/p&gt;

&lt;p&gt;When I just started learning Python I really enjoyed the idea of automating everything and building your own robot or AI. Find something that will inspire you and if it's not Machine Learning, Automatization, Web, or other things that you can easily do with Python, then it's not your language.&lt;br&gt;
When you are completely sure that you need to learn Python and you understand why then this will give you an accurate idea in which direction you should move and help you not to lose motivation to study it.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Learn How to Learn
&lt;/h2&gt;

&lt;p&gt;As I said some of these tips will help you not only with Python. Learning how to learn is a very common part, you should define which way of learning is better for you, for instance, watching YouTube videos/course, read books, or other ways.&lt;/p&gt;

&lt;p&gt;Actually, they will all be used in some amount, but basically, you should study the method that suits you best (especially I watch videos or courses).&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Fundamentals
&lt;/h2&gt;

&lt;p&gt;If you won't get the fundamentals of Python you also won't get more difficult things like Data Science. It's obviously the easiest part of learning Python, just watch some Crash Course of Python on Udemy, Coursera, Codecademy or read Python Crash Course, Automate the Boring Stuff with Python, of course, you can learn from your own sources.&lt;/p&gt;

&lt;h3&gt;
  
  
  There's the list of Fundamentals that you should learn first:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Variables&lt;/li&gt;
&lt;li&gt;Operators&lt;/li&gt;
&lt;li&gt;If, Else&lt;/li&gt;
&lt;li&gt;Loops&lt;/li&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;li&gt;Data Types&lt;/li&gt;
&lt;li&gt;Classes and Objects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Make sure you understand all of these points.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Practice
&lt;/h2&gt;

&lt;p&gt;If you've read tons of books and watched tons of courses but still don't understand how to write a function that will sort your array list, that you need way more practice.&lt;br&gt;
Hopefully, for you, there're many sites where you can find problems that you should solve and not only. Even if you know how to sort your array, then practice at such sites as Codewars, HackerRank, LeetCode, TopCoder, etc., on these websites you can train your muscle memory to write faster easy code and train programmer thinking (Algorithms and act.).&lt;br&gt;
Also, you can help other people to solve their problems at StackOverflow. .If you want to master Python then you should integrate practice into your daily routine, it's useful only where you do it repeatedly.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Diving into Community
&lt;/h2&gt;

&lt;p&gt;You need to understand that you actually can't do anything alone, anyway, for big projects you'll need some group of people that will help you and inspire you, even such companies as Google and Apple weren't build by only one person.&lt;br&gt;
It means that you should know where to get new programmer friends. In a nutshell, you can just join the Discord Server of Python and just talk to other programmers or when you are stuck at the problem at Codewars you can easily ask for help and solve this problem with someone else. Another way to find new friends is to take part in different ways of Hackathons.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Libraries and Frameworks
&lt;/h2&gt;

&lt;p&gt;Soon as you learned all basics and have more hours of practice and can easily write some sort of algorithm, then you should learn Libraries and Frameworks in the direction in which you want to develop further, as I said earlier it can be Machine Learning, Automatization or Web-Development.&lt;br&gt;
There's top of the most popular and effective Frameworks that you should learn: Top Machine Learning Frameworks To Use in 2021, Best Python Frameworks, and many others.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Share Your Knowledge
&lt;/h2&gt;

&lt;p&gt;If you ever hear of Richard Feynman that you probably know that he had a technic that helped him to learn everything and to reach truly amazing heights in physics and not only if you want to understand something yourself better explain it to someone else.&lt;/p&gt;

&lt;p&gt;Start making courses, YouTube videos, Write Medium articles, or you can start a blog on different kinds of platforms. I taught my friends and now they are making cool projects on Python like me.&lt;/p&gt;

&lt;p&gt;Making a repository on GitHub or Uploading your own game into App Store or Play Market is a way of sharing knowledge too, don't worry that someone will criticize you, and don't worry that your first project won't be great, over time, the experience will come and it will become much faster and easier for you to do this&lt;/p&gt;




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

&lt;p&gt;The latest advice that I can give you is to grow in your direction and have the fun of it, don't worry about what will say to others, and make this world better.&lt;br&gt;
As I promised at the start of this article, I will give a link to my own Machine Learning Roadmap which contains many links to different kinds of resources, books, concepts. Also, there's written how to learn Linux, Math (&lt;a href="https://whimsical.com/machine-learning-roadmap-Mg3phDVvFNa68RnYynXZQV"&gt;https://whimsical.com/machine-learning-roadmap-Mg3phDVvFNa68RnYynXZQV&lt;/a&gt;) You can also add me at Discord: MarkFusion#2903&lt;/p&gt;

</description>
      <category>python</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>6 Ways To Make Money With Your Code</title>
      <dc:creator>Mark Vassilevskiy</dc:creator>
      <pubDate>Mon, 08 Nov 2021 17:47:57 +0000</pubDate>
      <link>https://forem.com/abstract/6-ways-to-make-money-with-your-code-3jk7</link>
      <guid>https://forem.com/abstract/6-ways-to-make-money-with-your-code-3jk7</guid>
      <description>&lt;p&gt;Many of us know what "Coding" is and maybe some of you've built really cool projects and have many years of practice, however, not everybody knows how to really make money from your code. I tried to find the best ways how to do it, some of them I used myself and some of them not, but actually, everybody can highlight something from this top.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Freelancing
&lt;/h2&gt;

&lt;p&gt;Freelancing is one of the most popular ways of doing money, if you know something well enough (Coding, Photoshoping, or Editing) then you can easily present your services. It is directly proportional to how much effort you put into this. There are many platforms to start accepting orders from other people, for instance: Upwork, Fiverr and etc.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Competitive Environment, you need to put really much effort to be better than other&lt;/li&gt;
&lt;li&gt;If you're new at this niche most likely that customers just won't notice you&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pluses:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;As I said earlier, is it directly proportional to how much effort you put into this&lt;/li&gt;
&lt;li&gt;The more positive feedback you have the more you be popular and earn more&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Creating Courses
&lt;/h2&gt;

&lt;p&gt;I'll show you how profitable can it be, there's a course of Python - "2021 Complete Python Bootcamp From Zero to Hero in Python" and it has over 1.2 million students, which means that even with the lowest price (11.99$) the founder with of this course will earn more than 14 million dollars. You can tutor other 1 to 1 or create a course on Udemy as I've shown earlier. I think you get the idea, now let's look at the minuses and pluses.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You need to know something really good to teach others&lt;/li&gt;
&lt;li&gt;Maybe it will require any attachments&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pluses:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;As you saw only in one example, you can make a really big sum of money&lt;/li&gt;
&lt;li&gt;It's really useful because when you teach someone you understand it better yourself&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Start a Blog
&lt;/h2&gt;

&lt;p&gt;You can do it anywhere and anytime, It doesn't matter where you want to start a blog. For example, I write articles on Medium like - "12 VSCode Extensions That Every Developer Should Use", "Simple Commands In Linux that will Make You Feel Like a Pro", "JavaScript Tips to Improve Your Webpage Performance" and even the one you are reading now. You can start YouTube Channel and shoot videos about programming or something else that you're good at.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You will have to fight your way through countless other YouTubers like you&lt;/li&gt;
&lt;li&gt;In order for people to come to your channel, you must take care of the design, sound quality, and image itself&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pluses:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Who didn't want to become a famous YouTuber? or who didn't want to sit at home and earn millions of dollars? I guess you got me right&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Make Your Startup
&lt;/h2&gt;

&lt;p&gt;Actually, I think it's the most difficult at this top, but also the most lucrative. Look at such companies as Google, Facebook, Amazon, Microsoft, and many others. These were just startups by some group of reckless programmers that became the biggest companies in the world. I'm not telling you to become a new Steve Jobs, I'm just saying that you can make your small business of an idea that you or someone else invented and have Really good money from it. It doesn't matter what will it be, a simple app that helps people to navigate better or something else.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You need to invest money and time&lt;/li&gt;
&lt;li&gt;You need to be good not only at programming&lt;/li&gt;
&lt;li&gt;You'll probably need a team because without it team it will much harder&lt;/li&gt;
&lt;li&gt;Maybe many attempts will fail&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pluses:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You can build whatever you want
the path that brings you the most money&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Plugins For WordPress
&lt;/h2&gt;

&lt;p&gt;If you don't know, WordPress is the most popular platform for creating sites without actually knowing HTML, CSS, and JavaScript. Actually, everyone uses plugins for it, and as you've might notice you can create your own plugin and have a passive income from it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;To create a plugin that will get layout website easier you need to know how to build sites yourself and not only&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pluses:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You can create plugins with no restrictions and it will bring you more money&lt;/li&gt;
&lt;li&gt;Passive Income&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  6. Bots for Discord
&lt;/h2&gt;

&lt;p&gt;If you have ever been on the Discord server that I'm pretty sure that there were many bots that have different functionality, for example, some of them are for music playback, some if for better managing member's messages, and some of them just for fun. If you've made really great bot that solves specific problems then you can easily sell it on Freelance Sites which I talked about earlier or somehow differently.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;You should know several libraries for it&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pluses:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;It's fun!&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;These were 6 ways to earn money from your coding and not only. Some of them I've been using over several years and some of them only want to start. I hope that you highlighted something for you :) You can contact me at Discord: MarkFusion#2903&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What is NFT And Why You Should Pay Attention to It</title>
      <dc:creator>Mark Vassilevskiy</dc:creator>
      <pubDate>Sun, 07 Nov 2021 17:32:19 +0000</pubDate>
      <link>https://forem.com/abstract/what-is-nft-and-why-you-should-pay-attention-to-it-mk9</link>
      <guid>https://forem.com/abstract/what-is-nft-and-why-you-should-pay-attention-to-it-mk9</guid>
      <description>&lt;p&gt;NFT stands for Non-Fungible Token, which means that something can't be exchanged or substituted. In other words, fungible tokens are Dollar, Gold, Bitcoin. Because you can easily change one $10 bill by two $5 bills or by another one $10 bill, the value won't change, and no one will lose anything. However, with Non-Fungible tokens, everything is a little bit harder. You can't just take the "Mona Lisa" and exchange it by its fabrication. The value that holds the original "Mona Lisa" is much bigger than the fake "Mona Lisa" value. Actually, you can call NFT every picture Art, Music, 3D Model, Cover of this article and even first Twitter. I'm not joking; the founder of Twitter - Jack Dorsey, sold his photo of the first tweet for over $2,9M. The picture by Mike Winkelmann is called "Everydays: The First 5000 Days" and was sold for $69M. Can you dream it? Also, a project contains exactly 10,000 CryptoPanks Characters, and the lowest price for one NFT is 20ETH, and the price of the rarest characters can be up to $7.57M.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Even You Can Do it Right Now
&lt;/h2&gt;

&lt;p&gt;You may say that it's the Co-Founder of Twitter and you can't do the same because you aren't a famous person or a great painter, and I'll prove that you're wrong.&lt;br&gt;
You can go to the most popular platform OpenSea.io and see that there're thousands of sketches that LITERALLY EVERYONE in the world can draw and sell for 0,1ETH or even for a greater price. For instance, a GIF animation called "THE SUN" was sold for 1ETH. Or you can take a look at this "Unnamed Foal", and as you might have noticed, the author of it didn't even care about the title, and when I say the author didn't care, then NFT Marketplace is the author best place for you to notice it. Personally, I have seen that someone was selling his NFT without even a nickname. There are many other examples like these, and I want you to see them yourself. Just start making something from scratch, and in the end, it will bring you what you want.&lt;br&gt;
if you want to make your own NFT and sell it for the price that you want then nothing can stop you and everything that you need is just to do it&lt;/p&gt;

&lt;h2&gt;
  
  
  What is The Trend of Market
&lt;/h2&gt;

&lt;p&gt;Except for "CryptoPanks", which I talked about earlier, there're many other projects with a similar idea. I mean that not only CryptoPunks has the idea of making thousands of characters that are almost similar, but one may have a blue shirt, and the other may have red.&lt;br&gt;
CryptoKitties is a prime example of this; it also has many Kitties different from each other. And by this, I say to you that everyone can make their own collection of characters or something else, and probably it will be popular. Because if you go to the NFT Marketplace, you will instantly notice that almost everyone want to build their own universe with their own heroes and weapons&lt;br&gt;
Try to make your own world with your own Rules and Characters. Remember it doesn't need to be perfect&lt;/p&gt;

&lt;h2&gt;
  
  
  NFT Main Features
&lt;/h2&gt;

&lt;p&gt;What is so unusual in NFT, and why everyone is talking about it? The key difference between some NFT Marketplaces and platforms like Shutterstock is that on Shutterstock, you can buy the same photo or illustration millions of times; However, You cannot do it with NFT because it has only one copy. NFT exactly digitizes usual art and allow you to draw and buy it from any place in the world.&lt;br&gt;
You may think that it probably has many theft cases if it's so easy to buy art. But NFT has one of the greatest features called Smart Contract that works on Etherium (not only) and bring its own blockchain world without any robbery or something like that. You conclude a contract that no one can't break, and no one can cheat.&lt;br&gt;
It builds its own world without any theft or something like that. And allows you to use it in any place in the world&lt;/p&gt;

&lt;h2&gt;
  
  
  You Don't Actually Need to Draw It
&lt;/h2&gt;

&lt;p&gt;I said you need to pay attention and integrate into this NFT world, but not actually make NFT itself. If you don't understand me, let me explain to you.&lt;br&gt;
You can participate in auctions and buy NFTs, and then you can easily sell them for a greater price. You don't even need to sell it because sometimes exactly this NFT can be one of the rarest, and you'll be the only holder of it.&lt;br&gt;
Also, by integrating into this sphere, I mean you can even build your own NFT Marketplace that will be better than others. If you think that it's useless and no one is actually doing it, then I can say that nowadays, almost every company wants to open its own NFT Marketplace. For example, look at Instagram, Binance, Crypto.com, Enjin Marketplace and many others.&lt;br&gt;
It's a great opportunity to start doing something with NFT right now. And if you think that it's late, then you're absolutely wrong. Because it's only the start&lt;/p&gt;

&lt;h2&gt;
  
  
  The Future of NFT
&lt;/h2&gt;

&lt;p&gt;NFT is a part of a new era, the era of web 3.0, where you can do what you want a where you want in the global network. Where you can easily buy stuff without any thoughts about fraud, it's stupidly to ignore this new world that is only in the state of borning. I'm currently building my own NFT Marketplace, and my sister has drawn me this cover for my article in this too.&lt;/p&gt;




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

&lt;p&gt;My final thought is that it will only grow and grow and will make our world only better. I hope you enjoyed this article; if you have some advice or just wanna talk then add me at Discord: MarkFusion#2903 &lt;/p&gt;

</description>
      <category>news</category>
      <category>programming</category>
      <category>career</category>
      <category>discuss</category>
    </item>
    <item>
      <title>A Git Guide for Beginners</title>
      <dc:creator>Mark Vassilevskiy</dc:creator>
      <pubDate>Sun, 07 Nov 2021 17:26:27 +0000</pubDate>
      <link>https://forem.com/abstract/a-git-guide-for-beginners-2amb</link>
      <guid>https://forem.com/abstract/a-git-guide-for-beginners-2amb</guid>
      <description>

&lt;p&gt;In this article, I'll tell you about VCS (Version Control System), about Git itself, why you should learn it, and other cool stuff that even advanced users among you could not know. &lt;/p&gt;

&lt;h2&gt;
  
  
  What is VCS?
&lt;/h2&gt;

&lt;p&gt;In a nutshell, Version Control System is a system that records changes to a file or a set of files over time and allows you to return later to a specific version of your project. It means that even if you or your co-worker made a mistake you can easily return to the latest version of your project and start from there again. It makes everything easier and gives you chances to experiment&lt;/p&gt;

&lt;h3&gt;
  
  
  Types of VCS
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Local (RCS)&lt;/li&gt;
&lt;li&gt;Centralized (CVS, Subversion)&lt;/li&gt;
&lt;li&gt;Distributed (Git, Mercurial, BitKeeper)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Local
&lt;/h3&gt;

&lt;p&gt;Local VCS deployed on one machine and works as a backup of a specific machine. Pictures or diffs (difference between two versions of your project) do not go beyond a certain computer. Just like you made a copy of the folder on your computer.&lt;br&gt;
Local VCSCentralized&lt;br&gt;
The centralized VCS is installed on a local server within the same network. And it can store snapshots or diffs from all computers from this network on the server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Centralized VCSDistributed
&lt;/h3&gt;

&lt;p&gt;And distributed VCS is a vivid example of GitHub, when from anywhere in the world via the Internet you can store your versions in one cloud storage regardless of what network you are in or from what computer. Also, it allows copies to be moved not only from parent to storage and back but also between different parents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Distributed VCSAdvantages of GIT
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Speed.&lt;/li&gt;
&lt;li&gt;Simple design.&lt;/li&gt;
&lt;li&gt;Strong support for non-linear development (thousands of parallel branches).&lt;/li&gt;
&lt;li&gt;Fully distributed.&lt;/li&gt;
&lt;li&gt;Able to handle large projects like the Linux kernel efficiently (speed and data size).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Basic ideas
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Versions are snapshots, not diff.&lt;/li&gt;
&lt;li&gt;Almost all operations are performed locally&lt;/li&gt;
&lt;li&gt;Integrity. The SHA-1 hash is calculated for everything.&lt;/li&gt;
&lt;li&gt;After adding data to the git, it is hard (but possible) to lose them.&lt;/li&gt;
&lt;li&gt;Full git support is available only in the terminal.&lt;/li&gt;
&lt;li&gt;All files can be in one of the following states - committed, modified, staged&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Differences Between Snapshots and Diffs
&lt;/h2&gt;

&lt;p&gt;SnapshotsDiffsEach project file in Git/Mercurial indexing process can have one of the three possible states:&lt;br&gt;
modified, but not staged: This is when a project file is modified by the user, but Git/Mercurial has no track of the file changes at the moment. If the file is lost or removed unexpectedly, then Git cannot recover the file.&lt;br&gt;
staged for commit to the repository: When a file is modified it can be added to the Git staging area to be later committed permanently to the repository. The staging area is a file, generally contained in the project's repository ( directory), that stores information about what will go into the next commit to the repository. The staging area is also sometimes referred to as the index. .git&lt;br&gt;
committed to the repository: Once the staged files are committed to the repository, they become a permanent part of it and can be later extracted (checked out) for review or further development.&lt;br&gt;
These three file states comprise an important integral part of Git and Mercurial. The following figure illustrates the three file states.&lt;/p&gt;

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

&lt;p&gt;I tried to describe almost all aspects of VCS and GIT and why you should pay attention to them, the next part will be with the smaller features and I hope will be interesting.&lt;br&gt;
You can add me at Discord: MarkFusion#2903&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>github</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
