<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cheat Sheets Archives - Be on the Right Side of Change</title>
	<atom:link href="https://blog.finxter.com/category/cheat-sheets/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.finxter.com/category/cheat-sheets/</link>
	<description></description>
	<lastBuildDate>Tue, 22 Oct 2024 11:29:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.finxter.com/wp-content/uploads/2020/08/cropped-cropped-finxter_nobackground-32x32.png</url>
	<title>Cheat Sheets Archives - Be on the Right Side of Change</title>
	<link>https://blog.finxter.com/category/cheat-sheets/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know</title>
		<link>https://blog.finxter.com/python-cheat-sheet/</link>
		
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Thu, 26 Sep 2024 05:02:47 +0000</pubDate>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=305</guid>

					<description><![CDATA[<p>Python cheat sheets are the 80/20 principle applied to coding: 80% of the learning in 20% of the time.</p>
<p>The post <a href="https://blog.finxter.com/python-cheat-sheet/">Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-embed-aspect-4-3 wp-has-aspect-ratio"><strong>Why this?</strong> I remember when I first stumbled upon the Python wiki years ago, searching for a straightforward way to learn Python. Most of what I found felt either too complicated or just impractical &#8212; especially with a busy life, work, family, and other things to learn. You’re in the right place. This is the resource I wish I had back then.</p>



<p class="wp-embed-aspect-4-3 wp-has-aspect-ratio has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2b50.png" alt="⭐" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>My Goal</strong>: I created these simple cheat sheets to help you reduced time and effort to go from zero Python skills to creating your first cool app.</p>



<p class="wp-embed-aspect-4-3 wp-has-aspect-ratio">More than 200,000 absolute Python beginners have already downloaded our <a href="https://blog.finxter.com/subscribe/" data-type="page" data-id="1414">free cheat sheets</a> &#8212; and grown to a coding level that empowered them to build cool apps!</p>



<p class="wp-embed-aspect-4-3 wp-has-aspect-ratio"><strong>Can we get the basics done in 10 minutes?</strong> You be the judge! Let&#8217;s go! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">Python Keywords Cheat Sheet</h2>



<p>This cheat sheet is for beginners in the Python programming language. It explains everything you need to know about <strong>Python keywords</strong>. </p>



<p>Download and pin it to your wall until you feel confident using all these keywords! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" width="791" height="1024" src="https://blog.finxter.com/wp-content/uploads/2024/09/image-15.jpeg" alt="" class="wp-image-1671050" style="width:593px;height:768px" title="Python Cheat Sheet Keywords" srcset="https://blog.finxter.com/wp-content/uploads/2024/09/image-15.jpeg 791w, https://blog.finxter.com/wp-content/uploads/2024/09/image-15-232x300.jpeg 232w, https://blog.finxter.com/wp-content/uploads/2024/09/image-15-768x994.jpeg 768w" sizes="(max-width: 791px) 100vw, 791px" /></figure>
</div>


<div class="wp-block-buttons is-horizontal is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-499968f5 wp-block-buttons-is-layout-flex">
<div class="wp-block-button has-custom-font-size is-style-fill has-medium-font-size"><a class="wp-block-button__link has-accent-background-color has-text-color has-background wp-element-button" href="https://blog.finxter.com/subscribe/" style="border-radius:5px;color:#ffffff" target="_blank" rel="noreferrer noopener">Grab All 5 Python Cheat Sheets (Free)</a></div>
</div>



<p class="has-text-align-center"><a href="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-1_-Keywords1.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-1_-Keywords1.pdf" target="_blank" rel="noreferrer noopener">Download only this one PDF</a></p>



<p>Over time, this page has turned into a full-fledged Python tutorial with many additional resources, puzzles, tips, and videos. Go ahead and have some fun, learn a thing or two &#8212; and become a better coder in the process!</p>



<p></p>



<h2 class="wp-block-heading">Interactive Python Puzzle</h2>



<p>Test your skills and cement your knowledge! I&#8217;ve created an interactive puzzle that will make sure you truly understand all Python keywords discussed in the cheat sheet. Can you solve it for fun and learning?</p>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f525.png" alt="🔥" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Interactive Puzzle Link</strong>: <a href="https://app.finxter.com/learn/computer/science/653">https://app.finxter.com/learn/computer/science/653</a></p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-large is-resized"><a href="https://app.finxter.com/learn/computer/science/653" target="_blank" rel="noreferrer noopener"><img decoding="async" width="840" height="1024" src="https://blog.finxter.com/wp-content/uploads/2022/02/image-244-840x1024.png" alt="" class="wp-image-1670995" style="width:641px;height:auto" srcset="https://blog.finxter.com/wp-content/uploads/2022/02/image-244-840x1024.png 840w, https://blog.finxter.com/wp-content/uploads/2022/02/image-244-246x300.png 246w, https://blog.finxter.com/wp-content/uploads/2022/02/image-244-768x937.png 768w, https://blog.finxter.com/wp-content/uploads/2022/02/image-244.png 915w" sizes="(max-width: 840px) 100vw, 840px" /></a></figure>
</div>


<p><em><strong>Exercise</strong>: Think about this puzzle and <a href="https://app.finxter.com/learn/computer/science/653" data-type="link" data-id="https://app.finxter.com/learn/computer/science/653">guess the output</a>. Then, check whether you were right!</em></p>



<p>Did you struggle with the puzzle? No problem &#8212; Let&#8217;s dive into all of these keywords to gain a better understanding of each.</p>



<h2 class="wp-block-heading">Python Keywords</h2>



<p>Learn 80% of the keywords in 20% of the time: these are the most important Python keywords.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Python Keywords [A Helpful 16-Minute Primer]" width="937" height="527" src="https://www.youtube.com/embed/KjM5CkjPy78?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>Here’s a rewrite of each section of your blog with easy-to-understand and fun explanations:</p>



<h3 class="wp-block-heading">Keywords False, True</h3>



<p>These are the stars of the Boolean world. <code>True</code> means &#8220;Yes, this is correct!&#8221; and <code>False</code> means &#8220;Nope, that&#8217;s not right.&#8221;</p>



<p>Examples:</p>



<ul class="wp-block-list">
<li><code>False == (1 &gt; 2)</code> → 1 is not greater than 2, so this is False.</li>



<li><code>True == (2 &gt; 1)</code> → 2 is definitely greater than 1, so this is True!</li>
</ul>



<h3 class="wp-block-heading">Keywords and, or, not</h3>



<p>These are the logic superheroes that help you make decisions in code!</p>



<ul class="wp-block-list">
<li><strong>and</strong>: Both sides must be True for the whole thing to be True. Like saying, &#8220;I&#8217;ll go to the beach if it&#8217;s sunny <em>and</em> I have ice cream!&#8221;</li>



<li><strong>or</strong>: Only one needs to be True. It&#8217;s like saying, &#8220;I&#8217;ll eat cake <em>or</em> cookies, I don&#8217;t care!&#8221;</li>



<li><strong>not</strong>: This flips the truth! If something is True, &#8220;not&#8221; makes it False, and vice versa.</li>
</ul>



<p>Examples:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">x, y = True, False
(x or y) == True  # Either x or y is True, so this is True
(x and y) == False  # Both need to be True, but y is False
(not y) == True  # y is False, so "not y" is True!</pre>



<h3 class="wp-block-heading">Keyword break</h3>



<p>This one just says &#8220;I&#8217;m done here!&#8221; It stops a loop in its tracks.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">while(True):
    break  # Breaks out of the loop immediately
print("hello world")  # This will print because the loop ends right away</pre>



<h3 class="wp-block-heading">Keyword continue</h3>



<p>&#8220;continue&#8221; is like saying, &#8220;Skip this part, let&#8217;s keep going!&#8221; It jumps to the next round of the loop.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">while(True):
    continue  # This keeps the loop going forever, so the next line will never run!
    print("43")  # Dead code! It’ll never get here.</pre>



<h3 class="wp-block-heading">Keyword class</h3>



<p>Think of a class as a blueprint for creating objects, like how a recipe is the blueprint for a cake. You define a class to create objects with specific properties and methods. </p>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f449.png" alt="👉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Download our <a href="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/" data-type="post" data-id="2129" target="_blank" rel="noreferrer noopener">object-oriented programming Cheat Sheet here</a></p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">class Beer:
    def __init__(self):
        self.content = 1.0  # Full beer!
    def drink(self):
        self.content = 0.0  # Now it's empty!
becks = Beer()  # You’ve made a beer!
becks.drink()  # You drank it! It's empty now.</pre>



<h3 class="wp-block-heading">Keyword def</h3>



<p>&#8220;def&#8221; is short for &#8220;define.&#8221; It lets you create your own function, a little program inside your program!</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">def say_hello():
    print("Hello!")
say_hello()  # This will print "Hello!"</pre>



<p>In other words, it defines a new function or class method. For the latter, the first parameter (“<a title="Python Self — An Interactive Guide with Video" href="https://blog.finxter.com/self-in-python/" target="_blank" rel="noreferrer noopener"><code>self</code></a>”) points to the class object. When calling the class method, the first parameter is implicit.</p>



<h3 class="wp-block-heading">Keywords if, elif, else</h3>



<p>These are your program’s decision-makers. They choose which path to take based on conditions.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">x = int(input("your value: "))
if x > 3:
    print("Big")  # If x is bigger than 3, say it's "Big"
elif x == 3:
    print("Medium")  # If x equals 3, say it's "Medium"
else:
    print("Small")  # Otherwise, say it's "Small"</pre>



<h3 class="wp-block-heading">Keywords for, while</h3>



<p>These are loops that repeat stuff for you!</p>



<ul class="wp-block-list">
<li><strong>for</strong>: Loops a set number of times.</li>



<li><strong>while</strong>: Keeps looping as long as a condition is True.</li>
</ul>



<p>Examples:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">for i in [0,1,2]:
    print(i)  # Prints 0, 1, 2</pre>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">j = 0
while j &lt; 3:
    print(j)  # Prints 0, 1, 2
    j += 1</pre>



<h3 class="wp-block-heading">Keyword in</h3>



<p>This checks if something exists in a list or other sequence (<a href="https://blog.finxter.com/python-membership-in-operator/" data-type="post" data-id="34005" target="_blank" rel="noreferrer noopener">membership</a>). It’s like asking, <em>&#8220;Is this ingredient in the recipe?&#8221;</em></p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">42 in [2, 39, 42]  # True! 42 is in the list.</pre>



<h3 class="wp-block-heading">Keyword is</h3>



<p>This checks if two things are literally the same object in memory (<a href="https://blog.finxter.com/python-is-operator/" data-type="post" data-id="33954" target="_blank" rel="noreferrer noopener">object identity or <em>equality</em></a>). Like asking, <em>&#8220;Are we talking about the exact same cake?&#8221;</em></p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">x = y = 3
x is y  # True, they are the same object.
[3] is [3]  # False, they’re different lists, even if they look the same.</pre>



<h3 class="wp-block-heading">Keyword None</h3>



<p>&#8220;None&#8221; is just Python’s way of saying, &#8220;There’s nothing here.&#8221;</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">def f():
    x = 2
f() is None  # True, because the function doesn’t return anything.</pre>



<h3 class="wp-block-heading">Keyword lambda</h3>



<p>This is a quick, <a href="https://blog.finxter.com/a-simple-introduction-of-the-lambda-function-in-python/" data-type="post" data-id="2701" target="_blank" rel="noreferrer noopener">anonymous function</a> with no name—just a quick helper!</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">(lambda x: x + 3)(3)  # Adds 3 to the number and returns 6</pre>



<h3 class="wp-block-heading">Keyword return</h3>



<p>&#8220;return&#8221; sends a value back from a function and ends the function. It’s like handing someone the answer to a math problem.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">def incrementor(x):
    return x + 1  # Adds 1 and returns the result
incrementor(4)  # Returns 5</pre>



<p>Voilà, this was a quick rundown of the most important Python keywords. Let&#8217;s keep going! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>



<p><strong>Put yourself on the road to mastery and download your free Python cheat sheets now, print them, and post them to your office wall!</strong></p>






<p></p>



<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f525.png" alt="🔥" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Go to the Next Level</strong>: If you really want to advance your career, even if you&#8217;re an absolute beginner, check out the <a href="https://academy.finxter.com/" target="_blank" rel="noreferrer noopener">Finxter Academy</a>! You&#8217;ll learn the most important skill of our decade: <em><strong>using AI to create value</strong></em>. Each of our courses comes with a course certificate to get your dream job!</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p>In the following, I&#8217;ll present you a compilation of the best Python cheat sheets on the web. So, keep reading!</p>



<h2 class="wp-block-heading">12 Best Python Cheat Sheets</h2>



<p>But these are not all&#8212;the following Python cheat sheets will greatly improve your learning efficiency! Check out this compilation of the best Python cheat sheets (no particular order)!</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="5 Python Cheat Sheets Every Python Coder Must Own" width="937" height="703" src="https://www.youtube.com/embed/aqLDzpFc7T0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>So let’s dive into the best Python cheat sheets recommended by us.</p>



<h3 class="wp-block-heading">Cheat Sheet #1 &#8211; Python 3 Cheat Sheet</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://perso.limsi.fr/pointal/_media/python:cours:mementopython3-english.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="588" height="832" src="https://blog.finxter.com/wp-content/uploads/2019/03/grafik.png" alt="" class="wp-image-2329" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/grafik.png 588w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-212x300.png 212w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-100x141.png 100w" sizes="auto, (max-width: 588px) 100vw, 588px" /></a></figure>
</div>


<p>This is the best single cheat sheet. It uses every inch of the page to deliver value and covers everything you need to know to go from beginner to intermediate. Topics covered include container types, conversions, modules, <a href="https://blog.finxter.com/python-math-module/" title="Python Math Module [Ultimate Guide]" target="_blank" rel="noreferrer noopener">math</a>, conditionals, and formatting to name a few. A highly recommended 2-page sheet! </p>



<h3 class="wp-block-heading">Cheat Sheet #2 &#8211; Python Beginner Cheat Sheet</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://github.com/ehmatthes/pcc/releases/download/v1.0.0/beginners_python_cheat_sheet_pcc_all.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="811" height="625" src="https://blog.finxter.com/wp-content/uploads/2019/03/grafik-1.png" alt="" class="wp-image-2330" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/grafik-1.png 811w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-1-300x231.png 300w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-1-768x592.png 768w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-1-100x77.png 100w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a></figure>
</div>


<p>Some might think this cheat sheet is a bit lengthy. At 26 pages, it is the most comprehensive cheat sheets out there. It explains variables, data structures, exceptions, and classes &#8211; to name just a few. If you want the most thorough cheat sheet, pick this one.  </p>



<h3 class="wp-block-heading">Cheat Sheet #3 &#8211; Python for Data Science</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://s3.amazonaws.com/assets.datacamp.com/blog_assets/PythonForDataScience.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1180" height="823" src="https://blog.finxter.com/wp-content/uploads/2019/03/grafik-2.png" alt="" class="wp-image-2331" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/grafik-2.png 1180w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-2-300x209.png 300w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-2-768x536.png 768w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-2-1024x714.png 1024w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-2-100x70.png 100w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-2-864x603.png 864w" sizes="auto, (max-width: 1180px) 100vw, 1180px" /></a></figure>
</div>


<p>Some of the most popular things to do with Python are <a href="https://blog.finxter.com/artificial-intelligence-machine-learning-deep-learning-and-data-science-whats-the-difference/">Data Science and Machine Learning</a>. </p>



<p>In this cheat sheet, you will learn the basics of Python and the most important scientific library:<a href="https://blog.finxter.com/numpy-tutorial/"> NumPy</a> (Numerical Python). You’ll learn the basics plus the most important NumPy functions. </p>



<p>If you are using Python for Data Science, download this cheat sheet. </p>



<h3 class="wp-block-heading">Cheat Sheet #4 &#8211; Python for Data Science (Importing Data)</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Cheat+Sheets/Importing_Data_Python_Cheat_Sheet.pdf" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" width="1210" height="856" src="https://blog.finxter.com/wp-content/uploads/2020/06/image-2.png" alt="" class="wp-image-9346" srcset="https://blog.finxter.com/wp-content/uploads/2020/06/image-2.png 1210w, https://blog.finxter.com/wp-content/uploads/2020/06/image-2-300x212.png 300w, https://blog.finxter.com/wp-content/uploads/2020/06/image-2-1024x724.png 1024w, https://blog.finxter.com/wp-content/uploads/2020/06/image-2-768x543.png 768w" sizes="auto, (max-width: 1210px) 100vw, 1210px" /></a></figure>
</div>


<p>This Python data science cheat sheet from DataCamp is all about getting data into your code. </p>



<p>Think about it: importing data is one of the most important tasks when working with data. Increasing your skills in this area will make you a better data scientist&#8212;and a better coder overall!</p>



<h3 class="wp-block-heading">Cheat Sheet #5 &#8211; Python Cheatography Cheat Sheet</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://www.cheatography.com/davechild/cheat-sheets/python/pdf/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="568" height="816" src="https://blog.finxter.com/wp-content/uploads/2019/03/grafik-3.png" alt="" class="wp-image-2332" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/grafik-3.png 568w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-3-209x300.png 209w, https://blog.finxter.com/wp-content/uploads/2019/03/grafik-3-100x144.png 100w" sizes="auto, (max-width: 568px) 100vw, 568px" /></a></figure>
</div>


<p>This cheat sheet is for more advanced learners. It covers class, string, and <a title="Python List Methods" rel="noreferrer noopener" href="https://blog.finxter.com/python-list-methods/" target="_blank">list methods</a> as well as system calls from the <code>sys</code> module.&nbsp; </p>



<p>Once you’re comfortable defining basic classes and command-line interfaces (CLIs), get this cheat sheet. It will take you to another level. </p>



<h3 class="wp-block-heading">Cheat Sheet #6 &#8211; <a aria-label=" (opens in a new tab)" href="https://blog.finxter.com/subscribe/" target="_blank" rel="noreferrer noopener">The Ultimative Python Cheat Sheet Course (5x Email Series)</a></h3>



<figure class="wp-block-gallery has-nested-images columns-5 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1.jpg"><img loading="lazy" decoding="async" width="791" height="1024" data-id="2333" src="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-791x1024.jpg" alt="" class="wp-image-2333" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-768x994.jpg 768w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-100x129.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-864x1118.jpg 864w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-1200x1553.jpg 1200w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1.jpg"><img loading="lazy" decoding="async" width="791" height="1024" data-id="2334" src="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1-791x1024.jpg" alt="" class="wp-image-2334" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1-768x994.jpg 768w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1-100x129.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1-864x1118.jpg 864w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-2-Data-Structures.docx-1-1200x1553.jpg 1200w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1.jpg"><img loading="lazy" decoding="async" width="791" height="1024" data-id="2335" src="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1-791x1024.jpg" alt="" class="wp-image-2335" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1-768x994.jpg 768w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1-100x129.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1-864x1118.jpg 864w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-3-Complex-Data-Types-1-1200x1553.jpg 1200w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes.png"><img loading="lazy" decoding="async" width="791" height="1024" data-id="2336" src="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes-791x1024.png" alt="" class="wp-image-2336" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes-791x1024.png 791w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes-232x300.png 232w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes-768x994.png 768w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes-100x129.png 100w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes-864x1118.png 864w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes-1200x1553.png 1200w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-4-Classes.png 1700w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks.jpg"><img loading="lazy" decoding="async" width="791" height="1024" data-id="2337" src="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks-791x1024.jpg" alt="" class="wp-image-2337" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks.jpg 791w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks-768x994.jpg 768w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks-100x129.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks-864x1118.jpg 864w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-5-Functions-and-Tricks-1200x1553.jpg 1200w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></figure>
</figure>



<p>Want to learn Python well, but don’t have much time? </p>



<p>Then this course is for you. It contains 5 carefully designed PDF cheat sheets. Each cheat sheet takes you one step further into the rabbit hole. </p>



<p>You will learn practical Python concepts from the hand-picked examples and code snippets. The topics include basic keywords, simple and complex data types, crucial string and list methods, and powerful Python one-liners. </p>



<p>If you lead a busy life and do not want to compromise on quality, this is the cheat sheet course for you! </p>



<h3 class="wp-block-heading">Cheat Sheet #7 &#8211; Dataquest Data Science Cheat Sheet &#8211; Python Basics</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://s3.amazonaws.com/dq-blog-files/python-cheat-sheet-basic.pdf" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" width="612" height="793" src="https://blog.finxter.com/wp-content/uploads/2019/11/grafik-1.png" alt="" class="wp-image-5341" srcset="https://blog.finxter.com/wp-content/uploads/2019/11/grafik-1.png 612w, https://blog.finxter.com/wp-content/uploads/2019/11/grafik-1-232x300.png 232w" sizes="auto, (max-width: 612px) 100vw, 612px" /></a></figure>
</div>


<p>The wonderful team at Dataquest has put together this comprehensive beginner-level Python cheat sheet. </p>



<p>It covers all the basic data types, <a title="Python Loops" rel="noreferrer noopener" href="https://blog.finxter.com/python-loops/" target="_blank">looping, </a>and <a rel="noreferrer noopener" title="How to Read a File Line-By-Line and Store Into a List?" href="https://blog.finxter.com/how-to-read-a-file-line-by-line-and-store-into-a-list/" target="_blank">reading files</a>. It’s beautifully designed and is the first of a series. </p>



<h3 class="wp-block-heading">Cheat Sheet #8 &#8211; Dataquest Data Science Cheat Sheet &#8211; Intermediate</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://s3.amazonaws.com/dq-blog-files/python-cheat-sheet-intermediate.pdf" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" width="611" height="791" src="https://blog.finxter.com/wp-content/uploads/2020/06/image-1.png" alt="" class="wp-image-9344" srcset="https://blog.finxter.com/wp-content/uploads/2020/06/image-1.png 611w, https://blog.finxter.com/wp-content/uploads/2020/06/image-1-232x300.png 232w" sizes="auto, (max-width: 611px) 100vw, 611px" /></a></figure>
</div>


<p>This intermediate-level cheat sheet is a follow-up of the other Dataquest cheat sheet. It contains intermediate <code>dtype</code> methods, looping, and handling errors. </p>



<h3 class="wp-block-heading">Cheat Sheet #9 &#8211; Dataquest NumPy</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://s3.amazonaws.com/dq-blog-files/numpy-cheat-sheet.pdf" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" width="611" height="791" src="https://blog.finxter.com/wp-content/uploads/2020/06/image-3.png" alt="" class="wp-image-9349" srcset="https://blog.finxter.com/wp-content/uploads/2020/06/image-3.png 611w, https://blog.finxter.com/wp-content/uploads/2020/06/image-3-232x300.png 232w" sizes="auto, (max-width: 611px) 100vw, 611px" /></a></figure>
</div>


<p><a rel="noreferrer noopener" href="https://blog.finxter.com/numpy-tutorial/" target="_blank">NumPy </a>is at the heart of data science. Advanced libraries like <a rel="noreferrer noopener" title="[Collection] 10 Scikit-Learn Cheat Sheets Every Machine Learning Engineer Must Have" href="https://blog.finxter.com/scikit-learn-cheat-sheets/" target="_blank">scikit-learn</a>, <a rel="noreferrer noopener" title="TensorFlow — A Helpful Illustrated Guide" href="https://blog.finxter.com/tensorflow-overview/" target="_blank">Tensorflow</a>, <a rel="noreferrer noopener" title="10 Minutes to Pandas (in 5 Minutes)" href="https://blog.finxter.com/pandas-quickstart/" target="_blank">Pandas</a>, and <a rel="noreferrer noopener" title="Best Matplotlib Cheat Sheet" href="https://blog.finxter.com/best-matplotlib-cheat-sheet/" target="_blank">Matplotlib </a>are built on NumPy arrays. </p>



<p>You need to understand NumPy before you can thrive in data science and machine learning. The topics of this cheat sheet are creating arrays, combining arrays, scalar math, vector math, and statistics. </p>



<p>This is only one great NumPy cheat sheet&#8212;if you want to get more, <a rel="noreferrer noopener" href="https://blog.finxter.com/collection-10-best-numpy-cheat-sheets-every-python-coder-must-own/" target="_blank">check out our article on the 10 best NumPy cheat sheets</a>!</p>



<h3 class="wp-block-heading">Cheat Sheet #10 &#8211; Python For Data Science (Bokeh)</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Python_Bokeh_Cheat_Sheet.pdf" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" width="1210" height="856" src="https://blog.finxter.com/wp-content/uploads/2020/06/image-4.png" alt="" class="wp-image-9352" srcset="https://blog.finxter.com/wp-content/uploads/2020/06/image-4.png 1210w, https://blog.finxter.com/wp-content/uploads/2020/06/image-4-300x212.png 300w, https://blog.finxter.com/wp-content/uploads/2020/06/image-4-1024x724.png 1024w, https://blog.finxter.com/wp-content/uploads/2020/06/image-4-768x543.png 768w" sizes="auto, (max-width: 1210px) 100vw, 1210px" /></a></figure>
</div>


<p>Want to master the visualization library <a rel="noreferrer noopener" href="https://docs.bokeh.org/en/latest/index.html" target="_blank">Bokeh</a>? This cheat sheet is for you! It contains all the basic Bokeh commands to get your beautiful visualizations going fast!</p>



<h3 class="wp-block-heading">Cheat Sheet #11 &#8211; Pandas Cheat Sheet for Data Science</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://drive.google.com/file/d/1UHK8wtWbADvHKXFC937IS6MTnlSZC_zB/view" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" width="666" height="862" src="https://blog.finxter.com/wp-content/uploads/2020/06/image-5.png" alt="" class="wp-image-9356" srcset="https://blog.finxter.com/wp-content/uploads/2020/06/image-5.png 666w, https://blog.finxter.com/wp-content/uploads/2020/06/image-5-232x300.png 232w" sizes="auto, (max-width: 666px) 100vw, 666px" /></a></figure>
</div>


<p><a rel="noreferrer noopener" href="https://pandas.pydata.org/" target="_blank">Pandas </a>is everywhere. If you want to master <em>&#8220;the Excel library for Python coders&#8221;</em>, why not start with this cheat sheet? It&#8217;ll get you started fast and introduces the most important Pandas functions to you.</p>



<p><a rel="noreferrer noopener" href="https://blog.finxter.com/pandas-cheat-sheets/" target="_blank">You can find a best-of article about the </a><a href="https://blog.finxter.com/pandas-cheat-sheets/" target="_blank" rel="noreferrer noopener">7</a><a rel="noreferrer noopener" href="https://blog.finxter.com/pandas-cheat-sheets/" target="_blank"> best Pandas Cheat Sheets here.</a></p>



<h3 class="wp-block-heading">Cheat Sheet #12 &#8211; Regular Expressions Cheat Sheet</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://www.dataquest.io/wp-content/uploads/2019/03/python-regular-expressions-cheat-sheet.pdf" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" width="611" height="791" src="https://blog.finxter.com/wp-content/uploads/2020/06/image-6.png" alt="" class="wp-image-9359" srcset="https://blog.finxter.com/wp-content/uploads/2020/06/image-6.png 611w, https://blog.finxter.com/wp-content/uploads/2020/06/image-6-232x300.png 232w" sizes="auto, (max-width: 611px) 100vw, 611px" /></a></figure>
</div>


<p>Regex to the rescue! <a rel="noreferrer noopener" href="https://blog.finxter.com/python-regex/" target="_blank">Regular expressions</a> are wildly important for anyone who handles large amounts of text programmatically (ask Google). </p>



<p>This cheat sheet introduces the most important Regex commands for quick reference. Download &amp; master these regular expressions!</p>



<p><em>If you love cheat sheets, here are some interesting references for you (lots of more PDF downloads):</em></p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<p><strong>Related Articles:</strong></p>



<ul class="wp-block-list"><li><a href="https://blog.finxter.com/collection-5-cheat-sheets-every-python-coder-must-own/" target="_blank" rel="noreferrer noopener" title="[Collection] 11 Python Cheat Sheets Every Python Coder Must Own">[Collection] 11 Python Cheat Sheets Every Python Coder Must Own</a></li><li><a href="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/">[Python OOP Cheat Sheet] A Simple Overview of Object-Oriented Programming</a></li><li><a href="https://blog.finxter.com/machine-learning-cheat-sheets/" title="[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall" target="_blank" rel="noreferrer noopener">[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall</a></li><li><a href="https://blog.finxter.com/python-cheat-sheets/" title="https://blog.finxter.com/python-cheat-sheets/" target="_blank" rel="noreferrer noopener">Your 8+ Free Python Cheat Sheet [Course]</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know">Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet-functions-and-tricks/" title="Python Functions and Tricks Cheat Sheet" target="_blank" rel="noreferrer noopener">Python Functions and Tricks Cheat Sheet</a></li><li><a href="https://blog.finxter.com/python-interview-questions/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/python-interview-questions/">Python Cheat Sheet: 14 Interview Questions</a></li><li><a href="https://blog.finxter.com/pandas-cheat-sheets/" title="[PDF Collection] 7 Beautiful Pandas Cheat Sheets — Post Them to Your Wall" target="_blank" rel="noreferrer noopener">Beautiful Pandas Cheat Sheets</a></li><li><a href="https://blog.finxter.com/collection-10-best-numpy-cheat-sheets-every-python-coder-must-own/" title="[Collection] 10 Best NumPy Cheat Sheets Every Python Coder Must Own" target="_blank" rel="noreferrer noopener">10 Best NumPy Cheat Sheets</a></li><li><a href="https://blog.finxter.com/python-list-methods-cheat-sheet-instant-pdf-download/" title="Python List Methods Cheat Sheet [Instant PDF Download]" target="_blank" rel="noreferrer noopener">Python List Methods Cheat Sheet [Instant PDF Download]</a></li><li><a href="https://blog.finxter.com/cheat-sheet-6-pillar-machine-learning-algorithms/" target="_blank" rel="noreferrer noopener" title="[Cheat Sheet] 6 Pillar Machine Learning Algorithms">[Cheat Sheet] 6 Pillar Machine Learning Algorithms</a></li></ul>
</div></div>



<p>To master the most important skill in the next decade, AI engineering, check out the following course. It&#8217;s free and easy to learn but a dangerous skill to have in the age of AI! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://academy.finxter.com/university/an-introduction-to-ai-engineering/"><img loading="lazy" decoding="async" width="1024" height="786" src="https://blog.finxter.com/wp-content/uploads/2024/09/image-12-1024x786.png" alt="" class="wp-image-1671030" srcset="https://blog.finxter.com/wp-content/uploads/2024/09/image-12-1024x786.png 1024w, https://blog.finxter.com/wp-content/uploads/2024/09/image-12-300x230.png 300w, https://blog.finxter.com/wp-content/uploads/2024/09/image-12-768x589.png 768w, https://blog.finxter.com/wp-content/uploads/2024/09/image-12.png 1190w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Free Course:</strong> <a href="https://academy.finxter.com/university/an-introduction-to-ai-engineering/" data-type="link" data-id="https://academy.finxter.com/university/an-introduction-to-ai-engineering/">A Beginner&#8217;s Guide to AI Engineering (Full Course)</a></p>



<p></p>
<p>The post <a href="https://blog.finxter.com/python-cheat-sheet/">Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bitcoin Whitepaper Poster (Printable PDF)</title>
		<link>https://blog.finxter.com/bitcoin-whitepaper-poster/</link>
		
		<dc:creator><![CDATA[Jean Rousseau]]></dc:creator>
		<pubDate>Sun, 11 Jun 2023 20:16:23 +0000</pubDate>
				<category><![CDATA[Bitcoin]]></category>
		<category><![CDATA[Cheat Sheets]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=1430246</guid>

					<description><![CDATA[<p>I just wrapped up designing a printable PDF poster of the Bitcoin whitepaper. Spotted a different one on the web, and since I&#8217;ve already made a Bitcoin whitepaper cheat sheet, I couldn&#8217;t help but take a crack at it myself. 😅 You can also click on the image to download the printable PDF: 👇 If ... <a title="Bitcoin Whitepaper Poster (Printable PDF)" class="read-more" href="https://blog.finxter.com/bitcoin-whitepaper-poster/" aria-label="Read more about Bitcoin Whitepaper Poster (Printable PDF)">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/bitcoin-whitepaper-poster/">Bitcoin Whitepaper Poster (Printable PDF)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I just wrapped up designing a printable PDF poster of the Bitcoin whitepaper. Spotted a different one on the web, and since I&#8217;ve already made a Bitcoin whitepaper cheat sheet, I couldn&#8217;t help but take a crack at it myself. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f605.png" alt="😅" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<ul class="wp-block-list">
<li><strong>Step 1</strong>: <a href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" data-type="post" data-id="1399462" target="_blank" rel="noreferrer noopener">Download the Bitcoin Whitepaper Cheat Sheet on the Finxter blog</a></li>



<li><strong>Step 2</strong>: <a rel="noreferrer noopener" href="https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res.pdf" target="_blank">Download the Bitcoin Whitepaper (Full Version) here (PDF)</a></li>
</ul>



<p>You can also click on the image to download the printable PDF: <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<figure class="wp-block-image size-large"><a href="https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="718" height="1024" src="https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-718x1024.jpg" alt="" class="wp-image-1430256" srcset="https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-718x1024.jpg 718w, https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-210x300.jpg 210w, https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-768x1095.jpg 768w, https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-1077x1536.jpg 1077w, https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-1436x2048.jpg 1436w, https://blog.finxter.com/wp-content/uploads/2023/06/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-scaled.jpg 1346w" sizes="auto, (max-width: 718px) 100vw, 718px" /></a></figure>



<p>If you want to download a shorter version, check out my other blog post with the <a href="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" target="_blank" rel="noreferrer noopener">whitepaper</a> condensed down to its essence: </p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="573" src="https://blog.finxter.com/wp-content/uploads/2023/06/image-28-1024x573.png" alt="" class="wp-image-1413082" srcset="https://blog.finxter.com/wp-content/uploads/2023/06/image-28-1024x573.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/06/image-28-300x168.png 300w, https://blog.finxter.com/wp-content/uploads/2023/06/image-28-768x430.png 768w, https://blog.finxter.com/wp-content/uploads/2023/06/image-28.png 1238w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended</strong>: <a href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" data-type="URL" data-id="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" target="_blank" rel="noreferrer noopener">Bitcoin Whitepaper Cheat Sheet (PDF Download)</a></p>



<p>You can also download all our tech cheat sheets here:</p>



<p>The post <a href="https://blog.finxter.com/bitcoin-whitepaper-poster/">Bitcoin Whitepaper Poster (Printable PDF)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bitcoin Whitepaper Made Easy</title>
		<link>https://blog.finxter.com/bitcoin-whitepaper-made-easy/</link>
		
		<dc:creator><![CDATA[Jean Rousseau]]></dc:creator>
		<pubDate>Tue, 30 May 2023 06:39:05 +0000</pubDate>
				<category><![CDATA[Bitcoin]]></category>
		<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Research]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=1401554</guid>

					<description><![CDATA[<p>🪙 Meta: This quick article condenses the essence of the Bitcoin whitepaper without skipping technical details. It&#8217;s entirely based on my recent &#8220;Bitcoin Whitepaper Cheat Sheet&#8221; that received quite some popularity on Reddit with 20k views. You can also download the PDF here: Abstract: &#160;A purely peer-to-peer (P2P) version of electronic cash for direct payments ... <a title="Bitcoin Whitepaper Made Easy" class="read-more" href="https://blog.finxter.com/bitcoin-whitepaper-made-easy/" aria-label="Read more about Bitcoin Whitepaper Made Easy">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/bitcoin-whitepaper-made-easy/">Bitcoin Whitepaper Made Easy</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1fa99.png" alt="🪙" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Meta</strong>: <em>This quick article condenses the essence of the Bitcoin <a href="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" target="_blank" rel="noreferrer noopener">whitepaper</a> without skipping technical details. It&#8217;s entirely based on my recent &#8220;<a rel="noreferrer noopener" href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" data-type="post" data-id="1399462" target="_blank">Bitcoin Whitepaper Cheat Sheet</a>&#8221; that received quite some popularity on <a rel="noreferrer noopener" href="https://www.reddit.com/r/Bitcoin/comments/13uv5xa/bitcoin_whitepaper_cheat_sheet_onepager/?utm_source=share&amp;utm_medium=web2x&amp;context=3" data-type="URL" data-id="https://www.reddit.com/r/Bitcoin/comments/13uv5xa/bitcoin_whitepaper_cheat_sheet_onepager/?utm_source=share&amp;utm_medium=web2x&amp;context=3" target="_blank">Reddit</a> with 20k views. You can also download the PDF here:</em></p>


<div class="wp-block-image">
<figure class="aligncenter size-medium"><a href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="210" height="300" src="https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-210x300.jpg" alt="" class="wp-image-1399512" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-210x300.jpg 210w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-718x1024.jpg 718w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-768x1095.jpg 768w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-1077x1536.jpg 1077w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-1436x2048.jpg 1436w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-scaled.jpg 1346w" sizes="auto, (max-width: 210px) 100vw, 210px" /></a></figure>
</div>


<p class="has-global-color-8-background-color has-background"><strong>Abstract: </strong>&nbsp;A purely peer-to-peer (P2P) version of electronic cash for direct payments without centralized financial institutions based on digital signatures. <br><br>We propose a solution to the double-spending problem using a P2P network using timestamped transactions in an ongoing chain of hash-based proof-of-work (PoW). This blockchain forms a record that cannot be changed without redoing the PoW. The longest chain not only serves as proof of the sequence of events witnessed but proof that it came from the largest pool of CPU power. <br><br>As long as a majority of CPU power is controlled by nodes not cooperating to attack the network, they&#8217;ll generate the longest chain and outpace attackers. The network requires minimal structure. Messages are broadcast on a best effort basis. Nodes leave and join the network at will, accepting the longest PoW chain to learn about the current state of the chain.</p>



<h2 class="wp-block-heading">Section 1 &#8211; Introduction</h2>



<p><strong>Weaknesses eCommerce: </strong></p>



<ul class="wp-block-list">
<li>(1) Relies on financial institutions as trusted 3rd parties for ePayments. </li>



<li>(2) Non-reversible native transactions impossible leading to costly mediation. </li>



<li>(3) Trust-based system increase scrutiny &amp; fraud. </li>
</ul>



<p><strong>Bitcoin fixes this</strong>: An electronic payment system based on cryptographic proof for direct transactions without trusted third party. Bitcoin uses a peer-to-peer distributed timestamp server to establish the chronological order of transactions. The system&#8217;s security relies on honest nodes collectively having more CPU power than any group of attacker nodes.</p>



<h2 class="wp-block-heading">Section 2 &#8211; Transactions </h2>



<p>An electronic coin is a <em>chain of&nbsp; digital signatures</em>, transferred through digital signing of transaction hashes &amp; public keys of next owners.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="611" height="381" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-441.png" alt="" class="wp-image-1401573" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-441.png 611w, https://blog.finxter.com/wp-content/uploads/2023/05/image-441-300x187.png 300w" sizes="auto, (max-width: 611px) 100vw, 611px" /></figure>
</div>


<p><strong>Problem</strong>: Double spending of coins! </p>



<p><strong>Fiat System</strong>: Central authority checks every transaction. </p>



<p><strong>Bitcoin</strong>: Publicly announce all transactions o no previous owner signed earlier transactions w/o central authority. Create a system ensuring global majority consensus of transaction order.</p>



<h2 class="wp-block-heading">Section 3 &#8211; Timestamp Server</h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="579" height="156" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-442.png" alt="" class="wp-image-1401576" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-442.png 579w, https://blog.finxter.com/wp-content/uploads/2023/05/image-442-300x81.png 300w" sizes="auto, (max-width: 579px) 100vw, 579px" /></figure>
</div>


<p>Bitcoin&#8217;s solution begins with a timestamp server that takes a hash of a block of items to be timestamped. We publish the hash. The timestamp proves the data must have existed at the time to get into the hash. Each timestamp includes the previous timestamp in its hash, forming a chain, with each additional timestamp reinforcing the ones before it.</p>



<h2 class="wp-block-heading">Section 4 &#8211; Proof of Work (PoW) </h2>



<p>Bitcoin uses a PoW system to create a P2P timestamp server. Collectively, miners find a value that starts with several zero bits when hashed with SHA-256. The <em>PoW difficulty </em>is the number of zero bits. </p>



<p>PoW is achieved by incrementing a nonce in the block until a value gives the block&#8217;s hash the required zero bits. The work needed is exponential in the zero bits required: Each additional zero doubles the average work. </p>



<p>Altering the block would require redoing the work for all subsequent blocks. PoW also helps in majority decision-making (<em>&#8220;one-CPU-one-vote&#8221;</em>) so that the heaviest chain with most CPU effort determines the majority decision. If honest nodes control most CPU power, their chain will grow fastest. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="617" height="157" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-443.png" alt="" class="wp-image-1401578" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-443.png 617w, https://blog.finxter.com/wp-content/uploads/2023/05/image-443-300x76.png 300w" sizes="auto, (max-width: 617px) 100vw, 617px" /></figure>
</div>


<p>To change a past block, an attacker must redo the PoW for that and all following blocks to surpass the honest nodes&#8217; work. The chances of a slower attacker catching up decrease exponentially as new blocks are added (see calculations section later). </p>



<p>PoW difficulty adjusts targeting average six blocks per hour, compensating for varying node hardware speeds and mining interest. If blocks are generated too quickly, difficulty increases.</p>



<h2 class="wp-block-heading">Section 5 &#8211;  Network</h2>



<p><strong>Here are the steps to run the Bitcoin network:</strong></p>



<ul class="wp-block-list">
<li>(1) Broadcast new transactions to all nodes.</li>



<li>(2) Each node gathers new transactions into a block. </li>



<li>(3) Nodes work to find a difficult proof-of-work for their block. </li>



<li>(4) When a node finds a proof-of-work, it broadcasts the block. </li>



<li>(5) Nodes only accept block if all its transactions are valid and unspent. </li>



<li>(6) Nodes show block acceptance by creating the next block in the chain, using the accepted block&#8217;s hash as the previous hash.</li>
</ul>



<p><strong>Notes</strong>: Nodes consider the heaviest chain as correct &amp; work to extend it. If two nodes broadcast different next blocks, receiving nodes work on the first but save the other in case its chain becomes heavier. </p>



<p>The tie breaks when the next PoW is found and one branch grows heavier. Nodes then switch to the heavier branch. </p>



<p>The Bitcoin protocol tolerates dropped messages because new transaction broadcasts don&#8217;t need to reach all nodes to get into a block quickly. Nodes request missed blocks when they receive the next block.</p>



<h2 class="wp-block-heading">Section 6 &#8211;  Incentive </h2>



<p>The first block &#8220;coinbase&#8221; transaction creates a new coin &amp; sends it to block creator incentivizing miners to secure the network and circulating coins fairly w/o central authority. </p>



<p>Plus, transaction fees will fully replace coinbase mining incentive once 21M BTC have been mined. No inflation! </p>



<p>This incentivizes honesty among nodes. If an attacker amasses more CPU power than all honest nodes, they can either defraud others by reversing payments &#8211; or generate BTC revenue fairly which is likely to be more profitable while securing their own wealth.</p>



<h2 class="wp-block-heading">Section 7 &#8211; Reclaiming Disk Space</h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="739" height="393" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-444.png" alt="" class="wp-image-1401582" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-444.png 739w, https://blog.finxter.com/wp-content/uploads/2023/05/image-444-300x160.png 300w" sizes="auto, (max-width: 739px) 100vw, 739px" /></figure>
</div>


<p>Once the latest transaction in a coin is buried under enough blocks, discard spent transactions before it to save disk space. To do this without breaking the block hash, use a Merkle Tree with only the root included in the block&#8217;s hash. Old blocks can then be compacted by removing branches of the tree.</p>



<h2 class="wp-block-heading">Section 8 &#8211; Simplified Payment Verification </h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="848" height="369" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-445.png" alt="" class="wp-image-1401583" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-445.png 848w, https://blog.finxter.com/wp-content/uploads/2023/05/image-445-300x131.png 300w, https://blog.finxter.com/wp-content/uploads/2023/05/image-445-768x334.png 768w" sizes="auto, (max-width: 848px) 100vw, 848px" /></figure>
</div>


<p>You can verify your payments w/o a full network node by only keeping a copy of the block headers from the longest PoW chain obtained by querying network nodes for the chain and Merkle branch that connects the transaction to its timestamped block. </p>



<p>The transaction&#8217;s hash placement in the chain shows it has been accepted by a network node, with subsequent blocks confirming this acceptance. The verification method works if honest nodes dominate the network. Businesses or individuals might still prefer running their own nodes for enhanced security and faster verification.</p>



<h2 class="wp-block-heading">Section 9 &#8211;  Combining and Splitting Value </h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="291" height="179" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-446.png" alt="" class="wp-image-1401584"/></figure>
</div>


<p>Bitcoin allows to split and combine value by allowing transactions one or multiple in- and outputs.</p>



<h2 class="wp-block-heading">Section 10 &#8211; Privacy </h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="710" height="234" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-447.png" alt="" class="wp-image-1401585" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-447.png 710w, https://blog.finxter.com/wp-content/uploads/2023/05/image-447-300x99.png 300w" sizes="auto, (max-width: 710px) 100vw, 710px" /></figure>
</div>


<p>The traditional banking model achieves privacy by limiting information access. Bitcoin makes all transactions public, but privacy can still be maintained by <em>keeping public keys anonymous</em>. You can see that X sends BTC to Y, but without being able to link (X,Y) to anyone. </p>



<p><strong>Tip</strong>: use a new key pair for each transaction to prevent them from being linked to common owner. Some linking will always be possible because multi-input transactions reveal that their inputs were owned by the same owner.</p>



<h2 class="wp-block-heading">Section 11 &#8211; Calculations</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="119" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-440-1024x119.png" alt="" class="wp-image-1401556" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-440-1024x119.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/05/image-440-300x35.png 300w, https://blog.finxter.com/wp-content/uploads/2023/05/image-440-768x89.png 768w, https://blog.finxter.com/wp-content/uploads/2023/05/image-440.png 1043w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<ul class="wp-block-list">
<li><code>p</code> is the probability an honest node finds the next block</li>



<li><code>q</code> is the probability the attacker finds the next block</li>



<li><code>qz</code> is the probability the attacker will ever catch up from z blocks behind</li>
</ul>



<p>Assuming <code>p&gt;q</code>, probability of attacker catching up drops exponentially as the no. blocks increases. Without early luck and with the odds against him, the attacker&#8217;s chances become vanishingly small as he falls further behind.</p>



<h2 class="wp-block-heading">Further Reading</h2>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f449.png" alt="👉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Read the full Bitcoin whitepaper here: <a href="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" target="_blank" rel="noreferrer noopener">https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf</a></p>



<p>Also make sure to download our Bitcoin whitepaper cheat sheet for printing and posting to your office wall:</p>



<figure class="wp-block-image size-large"><a href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="573" src="https://blog.finxter.com/wp-content/uploads/2023/05/image-435-1024x573.png" alt="" class="wp-image-1399485" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/image-435-1024x573.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/05/image-435-300x168.png 300w, https://blog.finxter.com/wp-content/uploads/2023/05/image-435-768x430.png 768w, https://blog.finxter.com/wp-content/uploads/2023/05/image-435.png 1238w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
<p>The post <a href="https://blog.finxter.com/bitcoin-whitepaper-made-easy/">Bitcoin Whitepaper Made Easy</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bitcoin Whitepaper Cheat Sheet (PDF Download)</title>
		<link>https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/</link>
		
		<dc:creator><![CDATA[Jean Rousseau]]></dc:creator>
		<pubDate>Mon, 29 May 2023 11:46:28 +0000</pubDate>
				<category><![CDATA[Bitcoin]]></category>
		<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Research]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=1399462</guid>

					<description><![CDATA[<p>I believe the whitepaper is in the top three papers to understand as a human in the 21st century. Every computer scientist should know the groundbreaking Bitcoin invention by Bitcoin&#8217;s famous creator Satoshi. To make the whitepaper more accessible for Bitcoiners, investors, and systems researchers, I created this Bitcoin whitepaper cheat sheet. My gold standard ... <a title="Bitcoin Whitepaper Cheat Sheet (PDF Download)" class="read-more" href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" aria-label="Read more about Bitcoin Whitepaper Cheat Sheet (PDF Download)">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/">Bitcoin Whitepaper Cheat Sheet (PDF Download)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I believe the <a href="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2023/07/bitcoin.pdf" target="_blank" rel="noreferrer noopener">whitepaper</a> is in the top three papers to understand as a human in the 21st century. <em>Every computer scientist should know the groundbreaking Bitcoin invention by Bitcoin&#8217;s famous creator Satoshi.</em></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1024" height="1024" src="https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_41d5f42d-db2d-4ba3-a2d1-6a190618a2d2.png" alt="" class="wp-image-1482012" srcset="https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_41d5f42d-db2d-4ba3-a2d1-6a190618a2d2.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_41d5f42d-db2d-4ba3-a2d1-6a190618a2d2-300x300.png 300w, https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_41d5f42d-db2d-4ba3-a2d1-6a190618a2d2-150x150.png 150w, https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_41d5f42d-db2d-4ba3-a2d1-6a190618a2d2-768x768.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>To make the whitepaper more accessible for Bitcoiners, investors, and systems researchers, I created this <strong>Bitcoin whitepaper cheat sheet</strong>.  </p>



<p>My gold standard was to condense the 7-page paper down to a single PDF without losing valuable technical information. You be my judge! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f469-200d-2696-fe0f.png" alt="👩‍⚖️" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>



<p>Feel free to <a href="https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res.pdf" target="_blank" rel="noreferrer noopener">download it as a high-resolution PDF by clicking here</a> or on the cheat sheet image: <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="718" height="1024" src="https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-718x1024.jpg" alt="" class="wp-image-1399512" srcset="https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-718x1024.jpg 718w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-210x300.jpg 210w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-768x1095.jpg 768w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-1077x1536.jpg 1077w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-1436x2048.jpg 1436w, https://blog.finxter.com/wp-content/uploads/2023/05/Finxter_Bitcoin_Whitepaper_CheatSheet_high_res-scaled.jpg 1346w" sizes="auto, (max-width: 718px) 100vw, 718px" /></a></figure>
</div>


<p>If you love the cheat sheet, I&#8217;d love to see you share it on Twitter, Facebook, Reddit, or wherever else. Please include the following source link to the post:</p>



<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f517.png" alt="🔗" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Share Cheat Sheet Link</strong>: <a rel="noreferrer noopener" href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/" target="_blank">https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/</a></p>



<p>If you love cheat sheets and want to stay tuned in the world of Bitcoin, coding, tech, and artificial intelligence, <a href="https://blog.finxter.com/email-academy/" data-type="page" data-id="12278" target="_blank" rel="noreferrer noopener">join my free email academy</a> by downloading my other cheat sheets: <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>






<p>If you want the HTML form of the whitepaper, check out this article:</p>



<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1fa99.png" alt="🪙" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended</strong>: <a href="https://blog.finxter.com/bitcoin-whitepaper-made-easy/" data-type="post" data-id="1401554" target="_blank" rel="noreferrer noopener">Bitcoin Whitepaper Made Easy</a></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1024" height="1024" src="https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_68968ad4-0810-4f6d-a53d-0821c2bd2e15.png" alt="" class="wp-image-1482013" srcset="https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_68968ad4-0810-4f6d-a53d-0821c2bd2e15.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_68968ad4-0810-4f6d-a53d-0821c2bd2e15-300x300.png 300w, https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_68968ad4-0810-4f6d-a53d-0821c2bd2e15-150x150.png 150w, https://blog.finxter.com/wp-content/uploads/2023/07/Finxter_a_14-year_old_girl_with_long_blond_hairs_and_golden_gla_68968ad4-0810-4f6d-a53d-0821c2bd2e15-768x768.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div><p>The post <a href="https://blog.finxter.com/bitcoin-whitepaper-cheat-sheet/">Bitcoin Whitepaper Cheat Sheet (PDF Download)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Python OpenAI API Cheat Sheet (Free)</title>
		<link>https://blog.finxter.com/openapi-cheat-sheet/</link>
		
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Tue, 25 Apr 2023 11:54:42 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[OpenAI]]></category>
		<category><![CDATA[Prompt Engineering]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=1317920</guid>

					<description><![CDATA[<p>You can click on the image or the link below to download your version of the Finxter Python OpenAI API Cheat Sheet for free (PDF format): 👇 🔒 Download Link: https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Python_API.pdf For more free cheat sheets and daily programming and tech emails on prompting, coding, artificial intelligence, and blockchain engineering, check out our free email ... <a title="Python OpenAI API Cheat Sheet (Free)" class="read-more" href="https://blog.finxter.com/openapi-cheat-sheet/" aria-label="Read more about Python OpenAI API Cheat Sheet (Free)">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/openapi-cheat-sheet/">Python OpenAI API Cheat Sheet (Free)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>You can click on the image or the link below to download your version of the Finxter <strong>Python OpenAI API Cheat Sheet</strong> for free (<em>PDF format</em>): <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Python_API.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="720" height="960" src="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Python_API.jpg" alt="" class="wp-image-1318002" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Python_API.jpg 720w, https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Python_API-225x300.jpg 225w" sizes="auto, (max-width: 720px) 100vw, 720px" /></a></figure>
</div>


<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f512.png" alt="🔒" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Download Link</strong>: <a rel="noreferrer noopener" href="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Python_API.pdf" target="_blank">https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Python_API.pdf</a> </p>



<p>For more free cheat sheets and daily programming and tech emails on prompting, coding, artificial intelligence, and blockchain engineering, check out our free email newsletter and download our other cheat sheets here: <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>






<h2 class="wp-block-heading">Getting Started</h2>



<p>You can install the Python OpenAI library by <a href="https://blog.finxter.com/how-to-install-openai-in-python/" data-type="post" data-id="1170845" target="_blank" rel="noreferrer noopener">following our tutorial on the Finxter blog</a> or by using <code>pip</code> in your command line or terminal (shell):</p>



<pre class="wp-block-preformatted"><strong>Basic installation command:</strong> <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" />
<code>pip install openai</code>

<strong>Alternative for Python 3:</strong> <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" />
<code>pip3 install openai</code></pre>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="810" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-277.png" alt="" class="wp-image-1320528" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-277.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-277-300x237.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-277-768x608.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended</strong>: <a href="https://blog.finxter.com/openai-api-or-how-i-made-my-python-code-intelligent/" data-type="post" data-id="1081478">Getting Started with OpenAI&#8217;s Python API</a></p>



<h2 class="wp-block-heading">Your First Python-Based Prompt With Output</h2>



<p>Copy and paste the following code into a Python script (e.g., named <code>code.py</code>) and also paste <a href="https://blog.finxter.com/openai-api-or-how-i-made-my-python-code-intelligent/" data-type="post" data-id="1081478" target="_blank" rel="noreferrer noopener">your API key</a> into the highlighted line (string):</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">import os
import openai


openai.api_key = "&lt;copy your secret API key here>"

response = openai.Completion.create(
    model="text-davinci-003",
    prompt="What is the answer to all questions?",
    temperature=0.7,
    max_tokens=100,
    top_p=1,
    frequency_penalty=0,
    presence_penalty=0
)

print(response)</pre>



<p>You can modify the other highlighted line <code>"What is the answer to all questions?"</code> to customize your input prompt. The output after a few seconds will look like this:</p>



<pre class="wp-block-preformatted"><code>{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "logprobs": null,
      "text": "\n\nThere is no one answer to all questions as each question has its own unique answer."
    }
  ],
  "created": 1674579571,
  "id": "cmpl-6cGvr0TM2PGsExeyG3NEx43CrNwSx",
  "model": "text-davinci-003",
  "object": "text_completion",
  "usage": {
    "completion_tokens": 19,
    "prompt_tokens": 8,
    "total_tokens": 27
  }
}</code></pre>



<p>Unfortunately, it couldn’t figure out the answer 42. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">Generating Images Programmatically with DALL·E</h2>



<p>To generate an image with DALL·E copy&amp;paste the following code and replace your API key and the string description of the image to be generated (<code>prompt</code>):</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">import os
import openai

# Your API Key Here: <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" />
openai.api_key = 'sk-XXXXXXXXXXXXXXXXXXXXXXXXXXX'

# Your Image Prompt Here: <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" />
prompt = "An oil painting of a dancing robot in the style of Monet"

response = openai.Image.create(
    prompt=prompt,
    n=1,
    size="256x256",
)

print(response["data"][0]["url"])</pre>



<p>The output is a URL from where you can download the image:</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="256" height="256" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-250.png" alt="" class="wp-image-1317766" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-250.png 256w, https://blog.finxter.com/wp-content/uploads/2023/04/image-250-150x150.png 150w" sizes="auto, (max-width: 256px) 100vw, 256px" /></figure>



<pre class="wp-block-preformatted"><code>https://oaidalleapiprodscus.blob.core.windows.net/private/org-CR1YqwB9GAtSsAKHpN1935Dy/user-57ZUj7285WTxwzVJdiweq6JS/img-n9aRtAjhyJMeOzZTXztvkGGD.png?st=2023-04-25T07%3A19%3A14Z&amp;se=2023-04-25T09%3A19%3A14Z&amp;sp=r&amp;sv=2021-08-06&amp;sr=b&amp;rscd=inline&amp;rsct=image/png&amp;skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&amp;sktid=a48cca56-e6da-484e-a814-9c849652bcb3&amp;skt=2023-04-25T08%3A17%3A09Z&amp;ske=2023-04-26T08%3A17%3A09Z&amp;sks=b&amp;skv=2021-08-06&amp;sig=57InZSNLylU1peJpPN8yynKvbiKBaLqhVn3l5c9oOSk%3D</code></pre>



<p>To learn more, visit my full tutorial on the Finxter blog:</p>



<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended</strong>: <a href="https://blog.finxter.com/python-openai-generate-image-with-dall-e/" data-type="post" data-id="1317762" target="_blank" rel="noreferrer noopener">Python OpenAI Generate Image with DALL·E</a></p>



<h2 class="wp-block-heading">Getting Started with OpenAI&#8217;s Speech Recognition API</h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://blog.finxter.com/openais-speech-to-text-api-a-comprehensive-guide/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="586" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-278.png" alt="" class="wp-image-1320531" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-278.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-278-300x172.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-278-768x440.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p class="has-global-color-8-background-color has-background">The <code>transcriptions</code> endpoint takes as input the audio file you want to transcribe and the desired output file format for the transcription of the audio. OpenAI currently supports multiple input and output file formats. </p>



<p>To transcribe audio, you can use the following Python code:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">import openai
audio_file = open("/path/to/file/my_audio.mp3", "rb")
transcript = openai.Audio.transcribe("whisper-1", audio_file)</pre>



<p>If you&#8217;re an avid reader of the Finxter blog, you know the vital role of <a rel="noreferrer noopener" href="https://pythononeliners.com/" data-type="URL" data-id="https://pythononeliners.com/" target="_blank">Python one-liners</a>. With OpenAI&#8217;s Whisper you can transcribe an audio or video file in a single line of Python code!</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">import openai;print(openai.Audio.transcribe("whisper-1", open("godfather.mp3", "rb")))</pre>



<p>Fantastic! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2665.png" alt="♥" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p>By default, the response type will be JSON, with the raw text included:</p>



<pre class="wp-block-preformatted"><code>{
  "text": "I'm gonna make him an offer he can't refuse."
}</code></pre>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="OpenAI’s Python &#x1f40d; Speech-to-Text API Made Easy" width="937" height="703" src="https://www.youtube.com/embed/X1vkBkXqjJQ?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f399.png" alt="🎙" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended</strong>: <a href="https://blog.finxter.com/openais-speech-to-text-api-a-comprehensive-guide/" data-type="URL" data-id="https://blog.finxter.com/openais-speech-to-text-api-a-comprehensive-guide/" target="_blank" rel="noreferrer noopener">OpenAI’s Speech-to-Text API: A Comprehensive Guide</a></p>



<h2 class="wp-block-heading">OpenAI Python API Input Arguments</h2>



<p>The OpenAI Python API allows you to interact with the OpenAI models, such as <a href="https://blog.finxter.com/the-evolution-of-large-language-models-llms-insights-from-gpt-4-and-beyond/" data-type="post" data-id="1267220" target="_blank" rel="noreferrer noopener">GPT-4</a>, for tasks like text completion, translation, and more. Here&#8217;s a list of some common input arguments you can pass to the API, along with explanations:</p>



<ol class="wp-block-list">
<li><code>model</code>: The name of the model you want to use, e.g., &#8216;gpt-4.0-turbo&#8217;. This specifies which version of the model you want to interact with.</li>



<li><code>prompt</code>: The input text that you want to provide to the model. This can be a question, a sentence, or any other text you want the model to process or complete.</li>



<li><code>max_tokens</code>: The maximum number of tokens (words or word pieces) you want the model to generate in its response. A lower value will result in shorter responses, while a higher value allows for more detailed and longer responses.</li>



<li><code>temperature</code>: A value between 0 and 1 that controls the randomness of the model&#8217;s output. A higher value (e.g., 0.8) will result in more random and creative responses, while a lower value (e.g., 0.2) will produce more focused and deterministic responses.</li>



<li><code>top_p</code>: A value between 0 and 1 that controls the sampling strategy, also known as nucleus sampling. The model will only consider a subset of tokens whose cumulative probability exceeds <code>top_p</code>. This can be useful for controlling the diversity of generated text.</li>



<li><code>n</code>: The number of independent completions you want the model to generate for the given input. If you set this to a value greater than 1, the API will return multiple completions, which can be useful for exploring a range of possible responses.</li>



<li><code>stream</code>: A boolean value (True or False) that specifies whether to use streaming mode for generating results. When set to True, the API will return results incrementally as they become available, which can be useful for real-time applications.</li>



<li><code>echo</code>: A boolean value (True or False) that controls whether the input <code>prompt</code> should be included in the output. When set to True, the output will include both the input prompt and the model-generated completion.</li>



<li><code>stop</code>: A string or list of strings that specifies the stopping sequence(s) for the model. When the model encounters any of these sequences, it will stop generating further text.</li>



<li><code>presence_penalty</code>: A value that controls how much the model should penalize new tokens based on the presence of similar tokens in the prompt. This can be useful for controlling repetition in the generated text.</li>



<li><code>frequency_penalty</code>: A value that controls how much the model should penalize tokens based on their frequency in the training data. This can be useful for encouraging the model to generate more novel or uncommon phrases.</li>
</ol>



<p>These input arguments can be combined and customized to achieve the desired behavior when interacting with the OpenAI Python API.</p>



<p class="has-base-2-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended</strong>: <a href="https://blog.finxter.com/free-chatgpt-prompting-cheat-sheet-pdf/" data-type="post" data-id="1210513" target="_blank" rel="noreferrer noopener">Free ChatGPT Prompting Cheat Sheet (PDF)</a></p>
<p>The post <a href="https://blog.finxter.com/openapi-cheat-sheet/">Python OpenAI API Cheat Sheet (Free)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>10 Best Bitcoin Cheat Sheets</title>
		<link>https://blog.finxter.com/10-best-bitcoin-cheat-sheets/</link>
		
		<dc:creator><![CDATA[Emily Rosemary Collins]]></dc:creator>
		<pubDate>Wed, 12 Apr 2023 14:12:38 +0000</pubDate>
				<category><![CDATA[Bitcoin]]></category>
		<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Crypto]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=1285074</guid>

					<description><![CDATA[<p>If you&#8217;re diving into Bitcoin, having a handy cheat sheet can make all the difference. It can feel overwhelming with so many concepts to grasp and technical jargon to decipher. But don&#8217;t worry! 😌 We&#8217;ve got your back. We&#8217;ve compiled a list of the 10 best Bitcoin cheat sheets to make your journey smoother. So, ... <a title="10 Best Bitcoin Cheat Sheets" class="read-more" href="https://blog.finxter.com/10-best-bitcoin-cheat-sheets/" aria-label="Read more about 10 Best Bitcoin Cheat Sheets">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/10-best-bitcoin-cheat-sheets/">10 Best Bitcoin Cheat Sheets</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>If you&#8217;re diving into Bitcoin, having a handy cheat sheet can make all the difference. It can feel overwhelming with so many concepts to grasp and technical jargon to decipher. But don&#8217;t worry! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f60c.png" alt="😌" class="wp-smiley" style="height: 1em; max-height: 1em;" /> We&#8217;ve got your back. We&#8217;ve compiled a list of the 10 best Bitcoin cheat sheets to make your journey smoother.</p>



<p>So, let&#8217;s dive in and discover the valuable resources that await you on your path to mastering Bitcoin. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f31f.png" alt="🌟" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">1. Bitcoin Basics</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://www.dummies.com/article/business-careers-money/personal-finance/cryptocurrency/bitcoin-for-dummies-cheat-sheet-207382/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="457" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-97-1024x457.png" alt="" class="wp-image-1285085" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-97-1024x457.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-97-300x134.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-97-768x343.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-97-1536x686.png 1536w, https://blog.finxter.com/wp-content/uploads/2023/04/image-97.png 1641w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p>Begin your journey into the world of Bitcoin with a <a href="https://www.dummies.com/article/business-careers-money/personal-finance/cryptocurrency/bitcoin-for-dummies-cheat-sheet-207382/" target="_blank" rel="noreferrer noopener">Bitcoin For Dummies Cheat Sheet</a>. This easy-to-follow guide covers the fundamentals, history, and essential terminology you need to know as you explore cryptocurrencies.</p>



<h2 class="wp-block-heading">2. Wallets and Security</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://www.joshpaiva.com/bitcoin-cheat-sheet/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="1024" height="465" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-98-1024x465.png" alt="" class="wp-image-1285087" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-98-1024x465.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-98-300x136.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-98-768x349.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-98.png 1374w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p>Keeping your investments secure is crucial. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4bc.png" alt="💼" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Discover best practices for securing your wallet, choosing the right type of wallet, and ensuring optimal safety with a comprehensive <a href="https://www.joshpaiva.com/bitcoin-cheat-sheet/" target="_blank" rel="noreferrer noopener">Bitcoin Wallet Cheat Sheet</a>.</p>



<h2 class="wp-block-heading">3. Trading and Investment</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="591" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-99-1024x591.png" alt="" class="wp-image-1285088" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-99-1024x591.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-99-300x173.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-99-768x444.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-99.png 1489w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Get help trading and investing in Bitcoin via the <a href="https://www.barchart.com/crypto/quotes/%5EBTCUSD/cheat-sheet">Bitcoin &#8211; USD Cryptocurrency Trader&#8217;s Cheat Sheet</a>. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4c8.png" alt="📈" class="wp-smiley" style="height: 1em; max-height: 1em;" /> This resource offers essential information on resistance and support levels, as well as valuable insights to sharpen your trading skills.</p>



<h2 class="wp-block-heading">Cheat Sheet 4. Cryptography and Blockchain</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="352" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-100-1024x352.png" alt="" class="wp-image-1285091" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-100-1024x352.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-100-300x103.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-100-768x264.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-100.png 1040w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Delve into the underlying technology of Bitcoin: the blockchain. Understand how cryptography secures transactions with the help of a <a href="https://www.techrepublic.com/article/bitcoin-cheat-sheet-everything-professionals-need-to-know/" target="_blank" rel="noreferrer noopener">Bitcoin Cryptography and Blockchain Cheat Sheet</a>, which also provides information on key concepts like proof of work and encryption.</p>



<h2 class="wp-block-heading">Cheat Sheet 5. Mining and Consensus Algorithms</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="475" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-101-1024x475.png" alt="" class="wp-image-1285093" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-101-1024x475.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-101-300x139.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-101-768x356.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-101-1536x713.png 1536w, https://blog.finxter.com/wp-content/uploads/2023/04/image-101.png 1590w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Get acquainted with the process of mining, its purpose, and the consensus algorithms that maintain the integrity of the Bitcoin blockchain <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f528.png" alt="🔨" class="wp-smiley" style="height: 1em; max-height: 1em;" /> with a dedicated <a href="https://en.bitcoinwiki.org/wiki/Mining" target="_blank" rel="noreferrer noopener">Bitcoin Mining and Consensus Algorithms Cheat Sheet</a>.</p>



<h2 class="wp-block-heading">Cheat Sheet 6. Granny&#8217;s Bitcoin Cheat Sheet</h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="816" height="612" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-102.png" alt="" class="wp-image-1285095" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-102.png 816w, https://blog.finxter.com/wp-content/uploads/2023/04/image-102-300x225.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-102-768x576.png 768w" sizes="auto, (max-width: 816px) 100vw, 816px" /></figure>
</div>


<p>Are you looking for a simple and fun website summarizing some of the most important terms in Bitcoin? Check out the <a rel="noreferrer noopener" href="https://medium.com/the-crypto-times/bitcoin-cheat-sheet-b380b34acb4e" data-type="URL" data-id="https://medium.com/the-crypto-times/bitcoin-cheat-sheet-b380b34acb4e" target="_blank">Bitcoin Granny Cheat Sheet</a>. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f575-fe0f-200d-2642-fe0f.png" alt="🕵️‍♂️" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">Cheat Sheet 7. Bitcoin Programming</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="545" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-103-1024x545.png" alt="" class="wp-image-1285097" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-103-1024x545.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-103-300x160.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-103-768x409.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-103-1536x817.png 1536w, https://blog.finxter.com/wp-content/uploads/2023/04/image-103.png 1660w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>If you&#8217;re interested in coding within the Bitcoin ecosystem, a <a href="https://developer.bitcoin.org/devguide/index.html" target="_blank" rel="noreferrer noopener">Bitcoin Programming Cheat Sheet</a> will provide you with a useful reference to get started, covering topics such as transaction data structure and script opcodes. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f60e.png" alt="😎" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p>Granted, it&#8217;s more a developer guide than a cheat sheet. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">Cheat Sheet 8. Layer 2</h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="662" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-104-1024x662.png" alt="" class="wp-image-1285100" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-104-1024x662.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-104-300x194.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-104-768x497.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-104.png 1528w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Increase the scalability and utility of Bitcoin by exploring Layer 2 solutions like the Lightning Network <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/26a1.png" alt="⚡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> with a handy <a href="https://docs.lightning.engineering/" data-type="URL" data-id="https://docs.lightning.engineering/" target="_blank" rel="noreferrer noopener">Bitcoin Layer 2 Solutions Cheat Sheet</a>.</p>



<h2 class="wp-block-heading">Cheat Sheet 9. Regulations and Compliance</h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="336" height="786" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-105.png" alt="" class="wp-image-1285106" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-105.png 336w, https://blog.finxter.com/wp-content/uploads/2023/04/image-105-128x300.png 128w" sizes="auto, (max-width: 336px) 100vw, 336px" /></figure>
</div>


<p>Stay informed about the legal landscape for Bitcoin and cryptocurrencies with a <a href="https://complyadvantage.com/insights/cryptocurrency-regulations-around-world/" data-type="URL" data-id="https://complyadvantage.com/insights/cryptocurrency-regulations-around-world/">Bitcoin Regulations and Compliance Cheat Sheet</a>. This helpful guide outlines the current state of regulations globally and provides insight into tax implications. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f310.png" alt="🌐" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">Cheat Sheet 10. Social Impact and Adoption</h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="412" src="https://blog.finxter.com/wp-content/uploads/2023/04/image-106-1024x412.png" alt="" class="wp-image-1285108" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/image-106-1024x412.png 1024w, https://blog.finxter.com/wp-content/uploads/2023/04/image-106-300x121.png 300w, https://blog.finxter.com/wp-content/uploads/2023/04/image-106-768x309.png 768w, https://blog.finxter.com/wp-content/uploads/2023/04/image-106.png 1497w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Lastly, consider the broader implications of Bitcoin with a <a href="https://blog.chainalysis.com/reports/2022-global-crypto-adoption-index/" data-type="URL" data-id="https://blog.chainalysis.com/reports/2022-global-crypto-adoption-index/">Bitcoin Social Impact and Adoption Cheat Sheet</a>. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f517.png" alt="🔗" class="wp-smiley" style="height: 1em; max-height: 1em;" /> This resource highlights the growing role of cryptocurrencies in society, particularly in unbanked communities, and their potential impact on financial systems.</p>



<p>With these ten cheat sheets at your fingertips, you&#8217;ll be well-prepared to tackle any Bitcoin-related challenge. Happy learning! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<h2 class="wp-block-heading">How to Use Bitcoin Cheat Sheets Effectively</h2>



<p>Bitcoin cheat sheets are an excellent resource for both beginners and experienced cryptocurrency enthusiasts. To use them effectively, follow these simple steps. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p>First, familiarize yourself with the foundational concepts of Bitcoin, such as wallets, transactions, and mining. Check out comprehensive resources like <a href="https://www.techrepublic.com/article/bitcoin-cheat-sheet-everything-professionals-need-to-know/" target="_blank" rel="noreferrer noopener">TechRepublic</a> and <a href="https://www.joshpaiva.com/bitcoin-cheat-sheet/" target="_blank" rel="noreferrer noopener">Josh Paiva&#8217;s Bitcoin Cheat Sheet</a> to get started.</p>



<p>Next, focus on Bitcoin-specific terms and lingo to better understand technical discussions and analysis. Resources such as the <a href="https://www.dummies.com/article/business-careers-money/personal-finance/cryptocurrency/bitcoin-for-dummies-cheat-sheet-207382/" target="_blank" rel="noreferrer noopener">Bitcoin For Dummies Cheat Sheet</a> can help improve your vocabulary in the crypto space. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p>As you gain confidence, delve deeper into more advanced topics like trading strategies and patterns. <a href="https://www.barchart.com/crypto/quotes/%5EBTCUSD/cheat-sheet" target="_blank" rel="noreferrer noopener">Barchart&#8217;s Bitcoin Trader&#8217;s Cheat Sheet</a> is a great source for understanding market trends and identifying potential support and resistance levels. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4b9.png" alt="💹" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p>When it comes to wallet management and exchange platforms, consult cheat sheets to learn best practices for securing your assets. Stay up-to-date with the latest guides on wallet setup and storage options, like <a href="https://www.zdnet.com/article/bitcoin-cheat-sheet/" target="_blank" rel="noreferrer noopener">ZDNet&#8217;s Bitcoin Cheat Sheet</a>. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f510.png" alt="🔐" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p>Finally, practice what you&#8217;ve learned. Apply your newly acquired knowledge to real-life situations and continue to expand your understanding through hands-on experience. Remember that the crypto space is ever-evolving, so stay curious, ask questions, and never stop learning. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://blog.finxter.com/10-best-bitcoin-cheat-sheets/">10 Best Bitcoin Cheat Sheets</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Free OpenAI Terminology Cheat Sheet (PDF)</title>
		<link>https://blog.finxter.com/openai-glossary/</link>
		
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Sat, 08 Apr 2023 14:40:37 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[OpenAI]]></category>
		<category><![CDATA[Prompt Engineering]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=1276420</guid>

					<description><![CDATA[<p>Sharing Policy: You are free to share this cheat sheet on your social account or use for whatever you want if you include the source URL: https://blog.finxter.com/openai-glossary/ Download the PDF by clicking on the image below: 👇 PDF Download Link: https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary.pdf You can also download all of our OpenAI, ChatGPT, and programming cheat sheets by ... <a title="Free OpenAI Terminology Cheat Sheet (PDF)" class="read-more" href="https://blog.finxter.com/openai-glossary/" aria-label="Read more about Free OpenAI Terminology Cheat Sheet (PDF)">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/openai-glossary/">Free OpenAI Terminology Cheat Sheet (PDF)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-base-2-background-color has-background"><strong>Sharing Policy</strong>: You are free to share this cheat sheet on your social account or use for whatever you want if you include the source URL: <a rel="noreferrer noopener" href="https://blog.finxter.com/openai-glossary/" target="_blank">https://blog.finxter.com/openai-glossary/</a></p>



<p>Download the PDF by clicking on the image below: <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f447.png" alt="👇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="720" height="960" src="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary-1.jpg" alt="" class="wp-image-1278472" srcset="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary-1.jpg 720w, https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary-1-225x300.jpg 225w" sizes="auto, (max-width: 720px) 100vw, 720px" /></a></figure>
</div>


<p><strong>PDF Download Link</strong>: <a href="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary.pdf" data-type="URL" data-id="https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary.pdf" target="_blank" rel="noreferrer noopener">https://blog.finxter.com/wp-content/uploads/2023/04/Finxter_OpenAI_Glossary.pdf</a></p>



<p>You can also download all of our OpenAI, ChatGPT, and programming cheat sheets by subscribing to the <a rel="noreferrer noopener" href="https://blog.finxter.com/subscribe/" data-type="page" data-id="1414" target="_blank">Finxter email academy</a>:</p>






<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f916.png" alt="🤖" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Artificial General Intelligence (AGI)</h2>



<p>AGI, or Artificial General Intelligence, is a theoretical concept that represents a form of AI capable of understanding, learning, and applying knowledge across a wide range of tasks, similar to human cognitive abilities. The development of AGI would mark a significant milestone in AI research, as current AI models tend to excel in narrow, specialized tasks but lack the ability to transfer knowledge and generalize across domains. The pursuit of AGI raises many questions and concerns, such as the potential societal impact, ethical considerations, and ensuring that AGI&#8217;s benefits are accessible to all.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Singularity</h2>



<p>The Singularity is a hypothetical point in the future when advancements in AI lead to rapid, uncontrollable, and transformative changes in society. This concept posits that once AI reaches a certain level of capability, it may be able to improve its own intelligence recursively, leading to an exponential increase in its abilities. The implications of the Singularity are widely debated, with some experts predicting profound benefits, while others warn of potential risks and unintended consequences.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f6e1.png" alt="🛡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> AI Safety</h2>



<p>AI safety refers to the study and practice of designing, building, and deploying AI systems that operate securely, ethically, and in alignment with human values. Researchers and engineers working in AI safety aim to address various challenges, such as preventing unintended behaviors, ensuring transparency, and maintaining control over AI systems. By prioritizing AI safety, the AI community hopes to ensure that the development and application of AI technologies yield positive outcomes for society as a whole.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9ed.png" alt="🧭" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Alignment Problem</h2>



<p>The alignment problem is a fundamental challenge in AI research that involves designing AI systems that understand and act in accordance with human intentions, values, and goals. Addressing the alignment problem is essential to ensure that AI models optimize for the desired objectives and avoid harmful or unintended consequences. Researchers working on the alignment problem explore various approaches, such as incorporating human feedback, developing reward functions that align with human preferences, and designing inherently interpretable models.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9e0.png" alt="🧠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> OpenAI</h2>



<p>OpenAI is a research organization dedicated to advancing artificial intelligence in a manner that benefits humanity. Founded by Elon Musk, Sam Altman, and other prominent figures in the technology sector, OpenAI aims to develop artificial general intelligence (AGI) that is safe and beneficial for all. The organization is committed to long-term safety research, technical leadership, and cooperative orientation, actively collaborating with other institutions to address global challenges posed by AGI.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Deep Learning</h2>



<p>Deep learning is a subfield of machine learning that focuses on artificial neural networks with many layers, enabling them to learn complex patterns and representations from vast amounts of data. These networks can automatically learn features and representations from raw data, making them highly effective in tasks such as image and speech recognition, natural language processing, and game playing. Deep learning has driven significant advancements in AI, leading to state-of-the-art performance across numerous domains.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f578.png" alt="🕸" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Artificial Neural Network</h2>



<p>An artificial neural network is a computational model inspired by the structure and function of the human brain. It consists of interconnected nodes, or neurons, that process and transmit information in parallel. These networks can adapt and learn from data by adjusting the connections, or weights, between neurons. Artificial neural networks have been widely used in various applications, including image recognition, natural language processing, and decision-making.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f393.png" alt="🎓" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Supervised Learning</h2>



<p>Supervised learning is a machine learning paradigm in which a model is trained on a dataset consisting of input-output pairs. By learning the relationship between inputs and their corresponding outputs, the model can make predictions or classify new, unseen inputs. Supervised learning is commonly used in applications such as image classification, text categorization, and speech recognition, where labeled data is</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f310.png" alt="🌐" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Unsupervised Learning</h2>



<p>Unsupervised learning is a machine learning paradigm that deals with datasets without explicit output labels. Instead, the model learns to identify patterns, structures, and relationships within the input data itself. Common unsupervised learning techniques include clustering, where similar data points are grouped together, and dimensionality reduction, which reduces the complexity of the data while preserving its essential characteristics. Unsupervised learning is particularly useful for tasks such as anomaly detection, recommendation systems, and data compression.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3ae.png" alt="🎮" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Reinforcement Learning from Human Feedback (RLHF)</h2>



<p>RLHF is a method that combines reinforcement learning, a type of machine learning where an agent learns to make decisions by interacting with an environment, with human feedback to align the agent&#8217;s behavior with human values and preferences. In RLHF, human feedback is used to create a reward signal that guides the agent&#8217;s learning process, enabling it to better adapt to human expectations. This approach has been applied in various domains, including robotics, gaming, and personalized recommendations.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4ac.png" alt="💬" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Natural Language Processing (NLP)</h2>



<p>NLP is a field of artificial intelligence that focuses on enabling computers to understand, interpret, and generate human language. NLP combines linguistics, computer science, and machine learning to create algorithms that can process, analyze, and produce natural language text or speech. Some of the key applications of NLP include machine translation, sentiment analysis, text summarization, and question answering systems. Advancements in NLP have led to the development of increasingly sophisticated language models, chatbots, and virtual assistants.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4da.png" alt="📚" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Large Language Models</h2>



<p>Large language models are artificial intelligence models trained on vast amounts of textual data, enabling them to understand and generate human-like text. These models can learn intricate patterns, context, and knowledge from the training data, resulting in an impressive ability to generate coherent, contextually relevant text. Large language models, such as OpenAI&#8217;s GPT series, have demonstrated remarkable performance in various natural language processing tasks, including text completion, summarization, and translation.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2699.png" alt="⚙" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Transformer</h2>



<p>The Transformer is a deep learning architecture introduced by Vaswani et al. in 2017, designed for sequence-to-sequence tasks such as machine translation and text summarization. The Transformer is known for its self-attention mechanism, which enables it to effectively capture long-range dependencies and relationships within the input data. This architecture has become the foundation for many state-of-the-art natural language processing models, including BERT, GPT, and T5.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f441.png" alt="👁" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Attention mechanism</h2>



<p>Attention mechanisms in neural networks are inspired by human attention, allowing models to selectively focus on different parts of the input data based on their relevance to the task at hand. By weighing the importance of different input elements relative to one another, attention mechanisms help improve a model&#8217;s ability to capture context and handle long-range dependencies. Attention mechanisms have been successfully employed in various AI applications, including natural language processing, computer vision, and speech recognition.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f504.png" alt="🔄" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Self-attention</h2>



<p>Self-attention is a specific type of attention mechanism used in transformer-based models. It allows the model to relate different positions of a single sequence by computing a weighted average of all positions based on their relevance to the current position. This enables the model to capture both local and global context, improving its ability to understand and generate coherent text. Self-attention is a key component of state-of-the-art natural language processing models like BERT and GPT.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4d6.png" alt="📖" class="wp-smiley" style="height: 1em; max-height: 1em;" /> BERT (Bidirectional Encoder Representations from Transformers)</h2>



<p>BERT is a pre-trained transformer-based model developed by Google for natural language understanding tasks. It employs a bidirectional training approach that allows it to learn context from both the left and the right of a given token, resulting in a deeper understanding of language. BERT has achieved state-of-the-art performance on a wide range of natural language processing tasks, such as question answering, sentiment analysis, and named entity recognition. Its success has led to the development of numerous BERT-based models and fine-tuned versions for specific tasks and languages.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f310.png" alt="🌐" class="wp-smiley" style="height: 1em; max-height: 1em;" /> GPT (Generative Pre-trained Transformer)</h2>



<p>GPT is a series of large-scale transformer-based language models developed by OpenAI, designed for natural language understanding and generation tasks. GPT models are pre-trained on massive amounts of text data and can be fine-tuned for specific tasks, such as text completion, summarization, and translation. GPT models, including GPT-3 and GPT-4, have demonstrated impressive capabilities in generating coherent, contextually relevant text, making them suitable for various AI applications, including chatbots and virtual assistants.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f393.png" alt="🎓" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Pre-training</h2>



<p>Pre-training is the first stage in the development of large language models, where the model is trained on vast amounts of unlabeled text data to learn general language patterns, structures, and knowledge. This unsupervised learning process allows the model to acquire a broad understanding of language, which can be later fine-tuned for specific tasks using smaller, labeled datasets. Pre-training has been crucial to the success of state-of-the-art natural language processing models, such as BERT and GPT.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f39b.png" alt="🎛" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Fine-tuning</h2>



<p>Fine-tuning is the second stage in the development of large language models, where the pre-trained model is adapted for a specific task using a smaller, labeled dataset related to that task. This supervised learning process refines the model&#8217;s performance, allowing it to leverage the general language understanding acquired during pre-training to achieve high accuracy on the target task. Fine-tuning has been widely used to adapt large language models like BERT and GPT for various natural language processing tasks, such as sentiment analysis, question answering, and text summarization.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3af.png" alt="🎯" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Zero-shot learning</h2>



<p>Zero-shot learning is an AI approach that enables a model to make predictions or complete tasks without being explicitly trained on the task&#8217;s specific data. By leveraging prior knowledge and general understanding acquired during pre-training, the model can generate reasonable outputs for unseen tasks. Zero-shot learning has been demonstrated in various domains, including natural language processing, computer vision, and robotics. Large language models, such as GPT-3, have shown remarkable zero-shot learning capabilities in tasks like translation, summarization, and code generation.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9ea.png" alt="🧪" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Few-shot learning</h2>



<p>Few-shot learning is an AI approach that enables a model to quickly adapt to new tasks by learning from a small number of labeled examples. This technique leverages the model&#8217;s prior knowledge and general understanding acquired during pre-training, allowing it to effectively generalize from limited data. Few-shot learning is particularly valuable in scenarios where labeled data is scarce or expensive to obtain. Large language models, such as GPT-3, have demonstrated impressive few-shot learning capabilities in various natural language processing tasks.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4dc.png" alt="📜" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Token</h2>



<p>A token is a unit of text that serves as input to a language model. Tokens can represent words, subwords, or characters, depending on the tokenizer used to process the text. By breaking down text into tokens, language models can effectively learn and capture the patterns, structure, and context of language. The choice of tokenization strategy can impact a model&#8217;s performance, memory requirements, and computational complexity.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f52a.png" alt="🔪" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Tokenizer</h2>



<p>A tokenizer is a tool that processes text by breaking it down into individual tokens, which serve as input to a language model. Tokenizers can employ various strategies, such as splitting text at whitespace, using pre-defined subword units, or applying more complex algorithms that consider language specific rules. The choice of tokenizer can influence a model&#8217;s performance, memory requirements, and computational complexity. Tokenizers are essential components of natural language processing pipelines, as they enable models to efficiently process, learn, and generate text.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f5bc.png" alt="🖼" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Context window</h2>



<p>The context window is the portion of text surrounding a specific token or sequence that a language model uses to understand the context and make predictions. In some models, the context window is limited in size due to computational constraints, which can affect the model&#8217;s ability to capture long-range dependencies and relationships within the text. Transformer-based models, such as BERT and GPT, utilize self-attention mechanisms to effectively process and incorporate context from variable-length input sequences.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3ae.png" alt="🎮" class="wp-smiley" style="height: 1em; max-height: 1em;" /> AI Dungeon</h2>



<p>AI Dungeon is a text-based adventure game powered by OpenAI&#8217;s GPT models, which allows players to interact with a virtual world and create their own unique stories. By leveraging the natural language generation capabilities of GPT, the game generates rich, engaging narratives that respond to player input in real-time. AI Dungeon showcases the potential of large language models in interactive applications, offering a glimpse into the future of AI-driven storytelling and entertainment.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3a8.png" alt="🎨" class="wp-smiley" style="height: 1em; max-height: 1em;" /> DALL-E</h2>



<p>DALL-E is an AI model developed by OpenAI that combines the GPT architecture with computer vision techniques to generate original images from textual descriptions. By learning to understand the relationships between text and visual elements, DALL-E can create a wide range of images, from realistic scenes to surrealistic or abstract compositions. DALL-E highlights the potential of transformer-based models in creative applications, bridging the gap between natural language understanding and visual content generation.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f50e.png" alt="🔎" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Midjourney</h2>



<p>Midjourney is an artificial intelligence application and service developed and maintained by the San Francisco-based independent research lab, Midjourney, Inc. Similar to OpenAI&#8217;s DALL-E and Stable Diffusion, Midjourney creates images from natural language descriptions, known as &#8220;prompts.&#8221; This innovative technology showcases the convergence of language understanding and visual content generation, opening up new possibilities in the realm of AI-driven creative applications.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f310.png" alt="🌐" class="wp-smiley" style="height: 1em; max-height: 1em;" /> GPT-4</h2>



<p>GPT-4 is the latest iteration of OpenAI&#8217;s Generative Pre-trained Transformer series, building on the success of its predecessors, such as GPT-3. As a large-scale transformer-based language model, GPT-4 exhibits impressive natural language understanding and generation capabilities, enabling it to excel in various natural language processing tasks, including text completion, summarization, and translation. GPT-4 has been applied in a wide range of applications, from chatbots and virtual assistants to content generation and code synthesis.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f31f.png" alt="🌟" class="wp-smiley" style="height: 1em; max-height: 1em;" /> GPT-3.5</h2>



<p>GPT-3.5 is an intermediate version between GPT-3 and GPT-4, representing an incremental improvement in the Generative Pre-trained Transformer series developed by OpenAI. Like its predecessors, GPT-3.5 is a large-scale transformer-based language model that demonstrates impressive natural language understanding and generation capabilities. GPT-3.5 has been utilized in various applications, such as AI Dungeon, Midjourney, and other natural language processing tasks.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4bb.png" alt="💻" class="wp-smiley" style="height: 1em; max-height: 1em;" /> OpenAI API</h2>



<p>The OpenAI API is a platform that provides developers with access to OpenAI&#8217;s state-of-the-art AI models, such as GPT-3 and Codex, through a simple interface. By using the API, developers can easily integrate these powerful models into their applications, enabling capabilities like natural language understanding, text generation, translation, and code synthesis. The OpenAI API facilitates the widespread adoption of AI technologies, empowering developers to create innovative, AI-driven solutions across various industries.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9be.png" alt="🦾" class="wp-smiley" style="height: 1em; max-height: 1em;" /> InstructGPT</h2>



<p>InstructGPT is a version of OpenAI&#8217;s GPT model, specifically designed to follow instructions provided in the input and generate detailed, informative responses. By training the model using a dataset that includes instructional prompts, InstructGPT learns to better understand and address user queries, making it more suitable for applications where users require specific guidance or information. InstructGPT&#8217;s ability to follow instructions and generate coherent, contextually relevant responses showcases the potential of large language models in AI-driven information retrieval and assistance systems.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4dd.png" alt="📝" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Prompt engineering</h2>



<p>Prompt engineering is the process of carefully crafting input prompts to guide AI models like GPT in generating desired outputs. By providing specific context, constraints, or instructions within the prompt, users can influence the model&#8217;s response and improve the quality and relevance of the generated text. Prompt engineering is an essential skill for effectively utilizing large language models, as it helps users harness the model&#8217;s capabilities to produce desired results in various applications, such as content generation, question answering, and summarization.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f5c3.png" alt="🗃" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Knowledge Graph</h2>



<p>A knowledge graph is a structured representation of information that connects entities and their relationships in a graph-like format. Knowledge graphs enable AI systems to store, organize, and retrieve information efficiently, providing a foundation for tasks like question answering, recommendation, and inference. By integrating knowledge graphs with natural language processing models, AI researchers aim to create systems that can reason over complex, interconnected information and generate more accurate, contextually relevant responses.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f5e3.png" alt="🗣" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Conversational AI</h2>



<p>Conversational AI refers to artificial intelligence technologies that enable computers to engage in natural, human-like conversations. By combining natural language processing, machine learning, and knowledge representation, conversational AI systems can understand, interpret, and respond to human language inputs in a contextually relevant manner. Conversational AI has been applied in various domains, including customer support, virtual assistants, and social media monitoring, transforming the way humans interact with machines.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4ca.png" alt="📊" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Data augmentation</h2>



<p>Data augmentation is a technique used in machine learning to increase the size and diversity of a dataset by applying various transformations or modifications to the existing data. In the context of natural language processing, data augmentation may involve techniques like paraphrasing, synonym substitution, or text mixing. By enhancing the dataset with diverse examples, data augmentation can help improve a model&#8217;s generalization capabilities and performance on various tasks, particularly when labeled data is scarce.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f396.png" alt="🎖" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Transfer learning</h2>



<p>Transfer learning is a machine learning technique that leverages knowledge learned from one task to improve performance on another, related task. In the context of large language models like GPT and BERT, transfer learning involves pre-training the model on vast amounts of text data to acquire general language understanding, followed by fine-tuning on a specific task using a smaller, labeled dataset. Transfer learning has been instrumental in the success of state-of-the-art natural language processing models, enabling them to achieve high performance with limited task-specific data.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f575.png" alt="🕵" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Active learning</h2>



<p>Active learning is a machine learning paradigm in which the model actively selects the most informative samples from a pool of unlabeled data for human annotation, thereby improving its performance with minimal labeled data. By focusing on samples that are most uncertain, ambiguous, or diverse, active learning can reduce the amount of labeled data required for training, making it particularly useful in scenarios where labeling data is time-consuming or expensive.</p>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4c8.png" alt="📈" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Continual learning</h2>



<p>Continual learning is an approach in machine learning where a model learns from a continuous stream of data, adapting to new information and tasks without forgetting previous knowledge. This approach aims to mimic human learning, enabling AI systems to acquire knowledge incrementally and adapt to changing environments or problem domains. Continual learning is an active area of research, with potential applications in lifelong learning systems, robotics, and AI-driven decision making.</p>






<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<p><strong>Related Articles:</strong></p>



<ul class="wp-block-list"><li><a href="https://blog.finxter.com/collection-5-cheat-sheets-every-python-coder-must-own/" target="_blank" rel="noreferrer noopener" title="[Collection] 11 Python Cheat Sheets Every Python Coder Must Own">[Collection] 11 Python Cheat Sheets Every Python Coder Must Own</a></li><li><a href="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/">[Python OOP Cheat Sheet] A Simple Overview of Object-Oriented Programming</a></li><li><a href="https://blog.finxter.com/machine-learning-cheat-sheets/" title="[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall" target="_blank" rel="noreferrer noopener">[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall</a></li><li><a href="https://blog.finxter.com/python-cheat-sheets/" title="https://blog.finxter.com/python-cheat-sheets/" target="_blank" rel="noreferrer noopener">Your 8+ Free Python Cheat Sheet [Course]</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know">Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet-functions-and-tricks/" title="Python Functions and Tricks Cheat Sheet" target="_blank" rel="noreferrer noopener">Python Functions and Tricks Cheat Sheet</a></li><li><a href="https://blog.finxter.com/python-interview-questions/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/python-interview-questions/">Python Cheat Sheet: 14 Interview Questions</a></li><li><a href="https://blog.finxter.com/pandas-cheat-sheets/" title="[PDF Collection] 7 Beautiful Pandas Cheat Sheets — Post Them to Your Wall" target="_blank" rel="noreferrer noopener">Beautiful Pandas Cheat Sheets</a></li><li><a href="https://blog.finxter.com/collection-10-best-numpy-cheat-sheets-every-python-coder-must-own/" title="[Collection] 10 Best NumPy Cheat Sheets Every Python Coder Must Own" target="_blank" rel="noreferrer noopener">10 Best NumPy Cheat Sheets</a></li><li><a href="https://blog.finxter.com/python-list-methods-cheat-sheet-instant-pdf-download/" title="Python List Methods Cheat Sheet [Instant PDF Download]" target="_blank" rel="noreferrer noopener">Python List Methods Cheat Sheet [Instant PDF Download]</a></li><li><a href="https://blog.finxter.com/cheat-sheet-6-pillar-machine-learning-algorithms/" target="_blank" rel="noreferrer noopener" title="[Cheat Sheet] 6 Pillar Machine Learning Algorithms">[Cheat Sheet] 6 Pillar Machine Learning Algorithms</a></li></ul>
</div></div>
<p>The post <a href="https://blog.finxter.com/openai-glossary/">Free OpenAI Terminology Cheat Sheet (PDF)</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Python Programming Tutorial [+Cheat Sheets]</title>
		<link>https://blog.finxter.com/python-crash-course/</link>
		
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 20:41:00 +0000</pubDate>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python Keywords]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=3951</guid>

					<description><![CDATA[<p>(Reading time: 19 minutes) The purpose of this article is to help you refresh your knowledge of all the basic Python keywords, data structures, and fundamentals. I wrote it for the intermediate Python programmer who wants to reach the next level of programming expertise. The way of achieving an expert level is through studying the ... <a title="Python Programming Tutorial [+Cheat Sheets]" class="read-more" href="https://blog.finxter.com/python-crash-course/" aria-label="Read more about Python Programming Tutorial [+Cheat Sheets]">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/python-crash-course/">Python Programming Tutorial [+Cheat Sheets]</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><em>(Reading time: 19 minutes)</em></p>



<p>The purpose of this article is to help you refresh your knowledge of all the basic <a href="https://blog.finxter.com/python-cheat-sheet/" data-type="post" data-id="305" target="_blank" rel="noreferrer noopener">Python keywords</a>, <a href="https://blog.finxter.com/top-10-best-data-structure-cheat-sheets-in-python/" data-type="post" data-id="21064" target="_blank" rel="noreferrer noopener">data structures</a>, and <a href="https://blog.finxter.com/email-academy/" data-type="page" data-id="12278" target="_blank" rel="noreferrer noopener">fundamentals</a>. I wrote it for the intermediate Python programmer who wants to reach the <a href="https://app.finxter.com/learn/computer/science/" data-type="URL" data-id="https://app.finxter.com/learn/computer/science/" target="_blank" rel="noreferrer noopener">next level</a> of programming expertise.</p>



<p><strong>The way of achieving an expert level is through studying the basics.</strong> </p>



<p>Computer science professors usually have an extremely profound knowledge of the basics in their field. This enables them to argue from &#8220;first principles&#8221; rather than from the state-of-the-art—it&#8217;s easier for them to identify research gaps because they know about the ground rules in their field rather than being blinded by the latest technology and state-of-the-art. </p>



<p class="has-global-color-8-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Tip</strong>: If you want to reach the next level in coding, take your time and study the basics carefully. </p>



<p>This article provides you with the most important Python basics which serve as a foundation for more advanced topics.</p>



<p>Download your <a href="https://blog.finxter.com/subscribe/" target="_blank" rel="noreferrer noopener">5x Python cheat sheets</a>, print them, and pin them to your office wall!</p>


<div class="wp-block-image">
<figure class="aligncenter"><a href="https://blog.finxter.com/subscribe/" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" width="791" height="1024" src="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-791x1024.jpg" alt="" class="wp-image-2333" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-768x994.jpg 768w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-100x129.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-864x1118.jpg 864w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-1-Keywords-1-1200x1553.jpg 1200w" sizes="auto, (max-width: 791px) 100vw, 791px" /></a></figure>
</div>


<p>Click the image to register and download all Python cheat sheets.</p>



<h2 class="wp-block-heading" id="keywords">Python Keywords</h2>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Python Crash Course - Keywords" width="937" height="527" src="https://www.youtube.com/embed/hkOAShEryUo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>Like any other programming language, Python has many <em>keywords </em>with special meaning. For instance, <em><a href="https://blog.finxter.com/how-to-check-your-python-version/" data-type="post" data-id="1371" target="_blank" rel="noreferrer noopener">Python 3.7</a></em> comes with 33 special keywords:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">False
class
finally 
is 
return
None
continue
for
lambda
try
True
def
from 	
nonlocal 	
while
and 	
del 	
global 	
not 	
with
as 	
elif 	
if 	
or 	
yield
assert 	
else 	
import 	
pass 	 
break 	
except 	
in 	
raise</pre>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9e9.png" alt="🧩" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Exercise</strong>: Quickly glance over the list of keywords and try to explain their meaning. </p>



<p>In the following, you will study the most important Python
keywords with short examples.</p>



<h3 class="wp-block-heading">Keywords: False, True</h3>



<p>These keywords represent the only two data values from the Boolean data type.</p>



<p>In Python, Boolean and integer data types are closely related: the Boolean data type internally uses integer values. Per default, the Boolean value <code>False</code> is represented by integer 0, and the Boolean value <code>True</code> is represented by integer 1.&nbsp;</p>



<p>The following code snippet gives you an example of these two Boolean keywords.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">x = 1 > 2
print(x)
# False

y = 2 > 1
print(y)
# True
</pre>



<p>After evaluating the given expressions, variable name <code>x</code> refers to the Boolean value <code>False</code> , and variable <code>y</code> refers to the Boolean value <code>True</code>.</p>



<h3 class="wp-block-heading">Keywords: and, or, not</h3>



<p>These keywords represent basic logical
operators.</p>



<ul class="wp-block-list"><li><strong>Keyword <code>and</code></strong>: The expression <code>x and y</code> evaluates to <code>True</code> if both values <code>x</code> and <code>y</code> evaluate to <code>True</code>. If one or both evaluate to <code>False</code>, the overall expression becomes <code>False</code>.</li><li><strong>Keyword <code>or</code></strong>: The expression <code>x or y</code> evaluates to <code>True</code> if <code>x</code> is <code>True</code> or <code>y</code> is <code>True</code> (or both are <code>True</code>). If one of those is <code>True</code>, the overall expression becomes <code>True</code>.</li><li><strong>Keyword <code>not</code></strong>: The expression <code>not x</code> evaluates to <code>True</code> if <code>x</code> evaluates to <code>False</code>.</li></ul>



<p>Consider the following Python code example:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">x, y = True, False

print((x or y) == True)
# True

print((x and y) == False)
# True

print((not y) == True)
# True 
</pre>



<p>By using these three operations—<code>and</code>, <code>or</code>, and <code>not</code>—you can express all logical expressions you&#8217;ll ever need.</p>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Learn More: The following three tutorials guide you into those crucial Python logical operators:</p>



<ul class="wp-block-list"><li><a href="https://blog.finxter.com/python-and-operator/" data-type="post" data-id="31722" target="_blank" rel="noreferrer noopener">Python <code>and</code> Operator</a></li><li><a href="https://blog.finxter.com/python-or-operator/" data-type="post" data-id="31848" target="_blank" rel="noreferrer noopener">Python <code>or</code> Operator</a></li><li><a href="https://blog.finxter.com/python-not-operator/" data-type="post" data-id="32000" target="_blank" rel="noreferrer noopener">Python <code>not</code> Operator</a></li></ul>



<h3 class="wp-block-heading">Keywords: if, else, elif</h3>



<p>Algorithms are often compared to cooking recipes. Imagine a cooking recipe that consists only of a sequential list of commands: fill water into a pot, add the salt, add the rice, get rid of the water, and serve the rice. </p>



<p>Strictly speaking, without a <em>conditional execution</em>, the sequence of commands would take only a few seconds to execute and the rice would not be ready for sure. </p>



<p>For example, you would fill in water, salt, and rice and immediately get rid of the water without waiting for the water to be hot and the rice to be soft. </p>



<p>We need to respond in a different way to different circumstances: we need to remove the water from the pot only <strong>if </strong>the rice is soft, and we need to put in the rice <strong>if </strong>the water is hot. </p>



<p>It&#8217;s almost impossible to write programs in a way that anticipates what happens in the real world in a deterministic manner.</p>



<p>Instead, we need to write programs that respond differently if different conditions are met. This is precisely why we need conditional execution with the keywords <strong><code>if</code></strong>, <strong><code>else</code></strong>, and <g class="gr_ gr_6 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="6" data-gr-id="6"><strong><code>elif</code></strong></g>.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">x = int(input("your value: "))
if x > 3:
    print("Big")
elif x == 3:
    print("Medium")
else:
    print("Small")</pre>



<p>The code snippet first takes the <a rel="noreferrer noopener" href="https://blog.finxter.com/python-input-function/" data-type="post" data-id="24632" target="_blank">user input</a>, <a rel="noreferrer noopener" href="https://blog.finxter.com/python-int-function/" data-type="post" data-id="22715" target="_blank">converts it into an integer</a>, and assign it to variable <code>x</code>. </p>



<p>It then tests the variable value whether it is larger than, equal to, or smaller than the value 3. In other words, the code responds to real-world input that is unpredictable in a differentiated manner.</p>



<h3 class="wp-block-heading">Keywords: for, while</h3>



<p>Computers are extremely fast—they execute billions of instructions per second. </p>



<p>Now imagine a world without a way of executing the same code snippet multiple times (with modified input). A program that runs only for a day would have to consist of trillions of lines of code (otherwise it would quickly run out of code to be executed). And the code would look like a mess because it would be highly redundant and not readable. </p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Resource</strong>: <a href="https://blog.finxter.com/tips-to-write-clean-code/" data-type="post" data-id="17059" target="_blank" rel="noreferrer noopener">How to Write Clean Code?</a></p>



<p>To allow for repeated execution of similar code snippets, Python (like any other major programming language) allows for two types of <a href="https://blog.finxter.com/python-loops/" data-type="post" data-id="4596" target="_blank" rel="noreferrer noopener">loops</a>: <strong>for loops</strong> and <strong>while loops</strong>. </p>



<p>This way, you can easily write a program consisting only of two lines of code that executes forever. It&#8217;s hard to do this without loops&#8211;the only alternative is <a href="https://blog.finxter.com/recursion/" data-type="post" data-id="3941" target="_blank" rel="noreferrer noopener">recursion</a>.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># For loop declaration
for i in [0, 1, 2]:
   print(i)

'''
0
1
2
'''

# While loop - same semantics
j = 0
while j &lt; 3:
   print(j)
   j = j + 1

'''
0
1
2
'''
</pre>



<p>Both loop variants achieve the same thing: they <a href="https://blog.finxter.com/python-print/" data-type="post" data-id="20731" target="_blank" rel="noreferrer noopener">print</a> the integers 0, 1, and 2 to the shell. </p>



<p>The loops accomplish this in two different ways. </p>



<ul class="wp-block-list"><li>The <code>for</code> loop repeatedly executes the loop body by declaring a loop variable <code>i</code> that iteratively takes on all values in the list <code>[0, 1, 2]</code>. </li><li>The <code>while</code> loop executes the loop body as long as a certain condition is met—in our case <code>j &lt; 3</code>.</li></ul>



<h3 class="wp-block-heading">Keyword: break</h3>



<p>There are two fundamental ways of terminating a loop: (i) define a loop condition that evaluates to <code>False</code>, or (ii) use the keyword <code>break</code> at the exact position in the loop body.</p>



<p>The following code snippet shows an example of the latter.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">while True:
   break # no infinite loop

print("hello world")
# hello world</pre>



<p>We create a while loop with a loop condition that will always evaluate to <code>True</code>. </p>



<p>For example, this is common practice when developing <a href="https://blog.finxter.com/python-one-liner-webserver/" data-type="post" data-id="8635">w</a><a rel="noreferrer noopener" href="https://blog.finxter.com/python-one-liner-webserver/" data-type="post" data-id="8635" target="_blank">e</a><a href="https://blog.finxter.com/python-one-liner-webserver/" data-type="post" data-id="8635">b servers</a> that repeat the following procedure forever: wait for a new web request and serve the request. </p>



<p>However, in some cases, you still want to terminate the loop prematurely. </p>



<p>In the webserver example, you would stop serving files for security reasons when your server detects that it is under attack. In these cases, you can use the keyword <code>break</code> to immediately stop the loop and execute the code that follows.</p>



<p>In the example, the code executes <code>print("hello world")</code><strong> </strong>after the loop ends prematurely.</p>



<h3 class="wp-block-heading">Keyword: continue</h3>



<p>The <code>break</code> statement is not the only statement that allows you to modify the execution flow of Python loops. </p>



<p>It is also possible to force the Python interpreter to skip certain areas in the loop while <strong>not </strong>ending it prematurely. </p>



<p>In the previously considered web server example, you may just want to skip malicious web requests instead of halting the server completely. This can be achieved using the <code>continue</code> statement that finishes the current loop iteration and brings the execution flow back to the loop condition.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">while True:
  continue
  print("43") # dead code 
</pre>



<p>The code executes forever without executing the <code>print</code> statement once. The reason is that the <code>continue</code> statement finishes the current loop iteration. </p>



<p>The effect of using the <code>continue</code> statement in this way is that there exists <g class="gr_ gr_8 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" id="8" data-gr-id="8">dead</g> code that will never be executed. </p>



<p>That&#8217;s why the <code>continue</code> statement (as well as the <code>break</code> statement) is commonly used under a certain condition by using a conditional if-else environment.</p>



<h3 class="wp-block-heading">Keyword: in</h3>



<p>The membership operator, i.e., <code>in</code> keyword, checks whether a certain element exists in a given sequence or <a href="https://blog.finxter.com/python-lists/" data-type="post" data-id="7332" target="_blank" rel="noreferrer noopener">container type</a>.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">print(42 in [2, 39, 42])
# True

print("21" in {"2", "39", "42"})
# False
</pre>



<p>The code <g class="gr_ gr_8 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" id="8" data-gr-id="8">sni</g>ppet shows that the keyword <code>in</code> can be used to test the membership of an integer value 42 in a <a href="https://blog.finxter.com/how-to-convert-an-integer-list-to-a-float-list-in-python-2/" data-type="post" data-id="27689" target="_blank" rel="noreferrer noopener">list of integer</a> values or to test the membership of a string value <code>"21"</code> in a <a href="https://blog.finxter.com/sets-in-python/" data-type="post" data-id="1908" target="_blank" rel="noreferrer noopener">set</a> of strings.</p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/python-membership-in-operator/" data-type="post" data-id="34005" target="_blank" rel="noreferrer noopener">The Membership Operator in Python</a></p>



<h3 class="wp-block-heading">Keyword: is</h3>



<p>Beginners in Python are often confused about the exact meaning of the keyword <code>is</code>. </p>



<p>However, if you take the time to properly understand it now, you won&#8217;t belong to this group for long. The keyword simply checks whether both variables refer to the same object in memory.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">y = x = 3

print(x is y)
# True

print([3] is [3])
# False
</pre>



<p>If you <a href="https://blog.finxter.com/how-to-create-a-python-list/" data-type="post" data-id="10436" target="_blank" rel="noreferrer noopener">create two lists</a>—even if they contain the same elements—they still refer to two different list objects in memory. Modifying one list object does not affect the other list object. </p>



<p>We say that lists are <em><a href="https://blog.finxter.com/mutable-vs-immutable-objects-in-python/" data-type="post" data-id="204090" target="_blank" rel="noreferrer noopener">mutable</a></em> because they can be modified after creation. Therefore, if you check whether one list refers to the same object in memory, the result is <code>False</code>. </p>



<p>However, integer values are <em><a rel="noreferrer noopener" href="https://blog.finxter.com/python-mutable-vs-immutable-objects-in-python/" data-type="post" data-id="66189" target="_blank">immutable</a></em>, so there is no risk of one variable changing the object which will then accidentally change all other variables. </p>



<p>The reason is that you cannot change the integer object 3—trying it will only create a new integer object and leave the old one unmodified.</p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/python-is-operator/" data-type="post" data-id="33954" target="_blank" rel="noreferrer noopener">The <code>is</code> Operator in Python</a></p>



<h3 class="wp-block-heading">Keyword: return</h3>



<p>The keyword <code>return</code> <a rel="noreferrer noopener" href="https://blog.finxter.com/how-do-i-return-multiple-values-from-a-function/" data-type="post" data-id="308875" target="_blank">terminates</a> the execution of a function and passes the flow of execution to the caller of the function. An optional value after the <code>return</code> keyword specifies the function result.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">def appreciate(x, percentage):
   return x + x * percentage / 100


print(appreciate(10000, 5))
# 10500.0</pre>



<p>We create a function <code>appreciate()</code> that calculates how much a given investment appreciates at a given percentage of return. </p>



<p>To this end, we use the keyword <code>return</code> to specify the result of the function as the sum of the original investment and the nominal return in one unit of time. The return value of the function <code>appreciate()</code> is of type <a href="https://blog.finxter.com/python-float-function/" data-type="post" data-id="22782" target="_blank" rel="noreferrer noopener">float</a>.</p>



<h3 class="wp-block-heading">Keyword: None</h3>



<p>The keyword <code>None</code> is a Python constant with the meaning <strong><em>&#8220;the absence of a value&#8221;</em></strong>. </p>



<p>Other <a href="https://blog.finxter.com/21-most-profitable-programming-languages-in-2023/" data-type="post" data-id="404278" target="_blank" rel="noreferrer noopener">programming languages</a> such as <a href="https://blog.finxter.com/java-developer-income-and-opportunity/" data-type="post" data-id="217907" target="_blank" rel="noreferrer noopener">Java</a> use the value <code>null</code> instead. But the term null often confuses beginners assuming it&#8217;s equal to the integer value 0.</p>



<p>Instead, Python uses the keyword <code>None</code> to indicate that it&#8217;s a different value than any numerical value for zero, an <a href="https://blog.finxter.com/how-to-create-an-empty-list-in-python/" data-type="post" data-id="453870" target="_blank" rel="noreferrer noopener">empty list</a>, or an empty string. </p>



<p>An interesting fact is that the value <code>None</code> is of its own data type.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">def f():
   x = 2


print(f() is None)
# True

print("" == None)
# False

print(0 == None)
# False
</pre>



<p>The code snippet shows several examples of the <code>None</code> data value (and what it is not). If you don&#8217;t define a return value for a function, the default return value is <code>None</code>. </p>



<p>However, the value <code>None</code> is different from the empty string or the numerical zero value.</p>



<h3 class="wp-block-heading">Keyword: lambda</h3>



<p>The keyword <code>lambda</code> is used to define <a href="https://blog.finxter.com/a-simple-introduction-of-the-lambda-function-in-python/" data-type="post" data-id="2701" target="_blank" rel="noreferrer noopener">lambda functions</a> in Python. Lambda functions are anonymous functions that are not defined in the namespace (roughly speaking: they have no names). </p>



<p>The syntax is:</p>



<p><strong><code>lambda &lt;arguments&gt; : &lt;return expression&gt;</code></strong></p>



<p>The lambda function can have one or multiple arguments (comma-separated). After the colon (<code>:</code>), you define the return expression that may (or may not) use the defined argument. It can be any expression or even another function. </p>



<p>Lambda functions are very important in Python. You&#8217;ll see them a lot in practical code projects: for example to make code shorter and more concise, or to create arguments of various Python functions (such as <code><a href="https://blog.finxter.com/python-map/" data-type="post" data-id="242" target="_blank" rel="noreferrer noopener">map()</a></code> or <code><a href="https://blog.finxter.com/about-guidos-fate-of-reduce-in-python-3000/" data-type="post" data-id="4374" target="_blank" rel="noreferrer noopener">reduce()</a></code>). </p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">print((lambda x: x + 3)(3))
# 6</pre>



<p>Consider the code. </p>



<p>First, we create a lambda function that takes value <code>x</code> and returns the result of the expression <code>x + 3</code>. <g class="gr_ gr_9 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" id="9" data-gr-id="9">The result</g> is a function object that can be called like any other function. Because of its semantics, we denote this function as <g class="gr_ gr_10 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" id="10" data-gr-id="10">incrementor</g> function. </p>



<p>Second, when calling this incrementor function with the argument <code>x=3</code>, the result is the integer value 6. </p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/a-simple-introduction-of-the-lambda-function-in-python/" data-type="post" data-id="2701" target="_blank" rel="noreferrer noopener">Python Lambda Function Simple Guide</a></p>



<h2 class="wp-block-heading" id="basic-data-structures">Python Basic Data Structures</h2>



<p>At this point, you&#8217;ve learned about the Python keywords which I view as the bare minimum every Python coder must know. </p>



<p>However, writing code is more than using keywords correctly. Source code operates on data. But data can be represented in various ways—a thorough understanding of data structures is one of the most fundamental skills you can acquire as a programmer. </p>



<p>It will help you in every single of your future endeavors—no matter whether you create <a href="https://academy.finxter.com/university/ml-project-classifying-star-wars-lego-images/" data-type="URL" data-id="https://academy.finxter.com/university/ml-project-classifying-star-wars-lego-images/" target="_blank" rel="noreferrer noopener">machine learning projects</a>, work on large codebases, set up and manage websites, or write <a href="https://blog.finxter.com/cheat-sheet-6-pillar-machine-learning-algorithms/" data-type="post" data-id="2613">algorithms</a>. </p>



<p>Data structures are fundamental to those areas.</p>



<h3 class="wp-block-heading">The Boolean Data Type</h3>



<p>A variable of type Boolean can only take two values—either <code>True</code> or <code>False</code>. You have already studied both keywords above.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">## 1. Boolean Operations
x, y = True, False

print(x and not y)
# True

print(not x and y or x)
# True

## 2. If condition evaluates to False
if None or 0 or 0.0 or '' or [] or {} or set():
    print("Dead code") # Not reached
</pre>



<p>The code snippet shows two important points: </p>



<ul class="wp-block-list"><li>First, Boolean operators are ordered by <a href="https://blog.finxter.com/python-operator-precedence/" data-type="post" data-id="34113" target="_blank" rel="noreferrer noopener">priority</a>—the operator <code>not</code> has the highest priority, followed by the operator <code>and</code>, followed by the operator <code>or</code>. </li><li>Second, the following values are evaluated to the Boolean value <code>False</code>: the keyword <code>None</code>, the integer value <code>0</code>, the float value <code>0.0</code>, empty strings, or <a href="https://blog.finxter.com/how-to-create-an-empty-list-in-python/" data-type="post" data-id="453870" target="_blank" rel="noreferrer noopener">empty</a> container types.</li></ul>



<h3 class="wp-block-heading">Numerical Data Types</h3>



<p>The two most important numerical data types are integer and float. </p>



<ul class="wp-block-list"><li>An integer is a positive or negative number without <g class="gr_ gr_7 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="7" data-gr-id="7">floating point</g> (for example 3). </li><li>A float is a positive or negative number with <a href="https://blog.finxter.com/how-to-create-high-precision-data-types/" data-type="post" data-id="455227" target="_blank" rel="noreferrer noopener"><g class="gr_ gr_8 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="8" data-gr-id="8">floating point</g> precision</a> (for example 3.14159265359). </li></ul>



<p>Python offers a wide variety of built-in numerical operations, as well as functionality to <a href="https://blog.finxter.com/how-to-convert-an-integer-list-to-a-float-list-in-python-2/" data-type="post" data-id="27689" target="_blank" rel="noreferrer noopener">convert</a> between those numerical data types. </p>



<p>Study the examples carefully to master these highly important numerical operations.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">## Arithmetic Operations
x, y = 3, 2
print(x + y) # = 5
print(x - y) # = 1
print(x * y) # = 6
print(x / y) # = 1.5
print(x // y) # = 1
print(x % y) # = 1
print(-x) # = -3
print(abs(-x)) # = 3
print(int(3.9)) # = 3
print(float(3)) # = 3.0
print(x ** y) # = 9</pre>



<p>Most of the operators are self-explaining. Note that the <strong><code>//</code> </strong>operator performs <a rel="noreferrer noopener" href="https://blog.finxter.com/daily-python-puzzle-integer-division/" data-type="post" data-id="91" target="_blank">integer division</a>. The result is an integer value that is rounded toward the smaller integer number (for example <strong><code>3 // 2 == 1</code></strong>).</p>



<h3 class="wp-block-heading">The String Data Type</h3>



<p>Python strings are sequences of characters. Strings are <a href="https://blog.finxter.com/mutable-vs-immutable-objects-in-python/" data-type="post" data-id="204090" target="_blank" rel="noreferrer noopener">immutable</a> so they cannot be changed, once created. </p>



<p>There are five main ways to create strings:</p>



<ul class="wp-block-list"><li>Single quotes: <code>'Yes'</code>.</li><li>Double quotes: <code>"Yes"</code>.</li><li>Triple quotes (for <a href="https://blog.finxter.com/multi-line-strings/" data-type="post" data-id="215" target="_blank" rel="noreferrer noopener">multiline string</a>): <code>'''Yes''''</code> or <code>"""Yes"""</code>.</li><li>The <a href="https://blog.finxter.com/python-str-function/" data-type="post" data-id="23735" target="_blank" rel="noreferrer noopener">string method</a>: <code>str(5) == '5'</code> is <code>True</code>.</li><li><a href="https://blog.finxter.com/daily-python-puzzle-string-concatenation/" data-type="post" data-id="93" target="_blank" rel="noreferrer noopener">Concatenation</a>: <code>'Py' + 'thon'</code> becomes <code>'Python'</code>.</li></ul>



<p>While there are other ways, these are the five most commonly
used. </p>



<p>Oftentimes, you want to explicitly use <a href="https://blog.finxter.com/how-to-eliminate-all-the-whitespace-from-a-string/" data-type="post" data-id="14577" target="_blank" rel="noreferrer noopener">whitespace characters</a> in strings. These are the most important ones: the newline character <code>'\n'</code>, the space character <code>'\s'</code>, and the tab character <code>'\t'</code>. </p>



<p>The following code snippet shows the most important string methods.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">## Most Important String Methods
y = "    This is lazy\t\n   "

print(y.strip())
# Remove Whitespace: 'This is lazy'

print("DrDre".lower())
# Lowercase: 'drdre'

print("attention".upper())
# Uppercase: 'ATTENTION'

print("smartphone".startswith("smart"))
# True

print("smartphone".endswith("phone"))
# True

print("another".find("other"))
# Match index: 2

print("cheat".replace("ch", "m"))
# meat

print(','.join(["F", "B", "I"]))
# F,B,I

print(len("Rumpelstiltskin"))
# String length: 15

print("ear" in "earth")
# Contains: True
</pre>



<p>This non-exclusive list of string methods shows that the string data type is very powerful in Python and you can solve many common string problems with built-in Python functionality. </p>



<p>If in doubt about how to achieve a certain result regarding string problems, consult the following resource to learn about all built-in string methods.</p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/python-string-methods/" data-type="post" data-id="25974">Python String Methods</a></p>



<h2 class="wp-block-heading" id="container-data-structures">Python Container Data Structures</h2>



<p>In the last section, you&#8217;ve learned about the basic Python data types. </p>



<p>But Python also ships with so-called container data types that handle <strong><em>complex </em></strong>operations efficiently while being easy to use.</p>



<h3 class="wp-block-heading">List</h3>



<p>The list is a container data type that stores a sequence of elements. Unlike strings, lists are mutable. This means that you can modify them at runtime. </p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/python-lists/" data-type="post" data-id="7332" target="_blank" rel="noreferrer noopener">Python List Ultimate Guide</a></p>



<p>The use of the list data type is best described with a series of examples:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">l = [1, 2, 2]
print(len(l))
# 3
</pre>



<p>This code snippet shows how to <a href="https://blog.finxter.com/how-to-create-a-python-list-of-size-n/" data-type="post" data-id="10466" target="_blank" rel="noreferrer noopener">create a list</a> and how to populate it with three integer elements. You can also see that some elements may arise multiple times in a single list. </p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: The <code><a href="https://blog.finxter.com/python-len/" data-type="post" data-id="22386" target="_blank" rel="noreferrer noopener">len()</a></code> function returns the number of elements in a list.</p>



<h4 class="wp-block-heading">Adding Elements</h4>



<p>There are three common ways of <a href="https://blog.finxter.com/add-elements-to-list-python/" data-type="post" data-id="9030" target="_blank" rel="noreferrer noopener">adding</a> elements to a list: <code><a href="https://blog.finxter.com/pandas-dataframe-append-method/" data-type="post" data-id="343998" target="_blank" rel="noreferrer noopener">append</a></code>, <code><a href="https://blog.finxter.com/python-list-insert-method/" data-type="post" data-id="6758" target="_blank" rel="noreferrer noopener">insert</a></code>, or <a href="https://blog.finxter.com/python-list-concatenation-add-vs-inplace-add-vs-extend/" data-type="post" data-id="8676" target="_blank" rel="noreferrer noopener">list concatenation</a>.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 1. Append
l = [1, 2, 2]
l.append(4)
print(l)
# [1, 2, 2, 4]

# 2. Insert
l = [1, 2, 4]
l.insert(2,2)
print(l)
# [1, 2, 2, 4]

# 3. List Concatenation
print([1, 2, 2] + [4])
# [1, 2, 2, 4]
</pre>



<p>All operations generate the same list <code>[1, 2, 2, 4]</code> but the <code>append()</code> operation is the fastest because it neither has to traverse the list to insert an element at the correct position (such as <code>insert</code>), nor create a new list out of two sublists (such as <em>list concatenation</em>). </p>



<p>Note that a fourth method is <code><a href="https://blog.finxter.com/python-list-extend/" data-type="post" data-id="6741" target="_blank" rel="noreferrer noopener">extend()</a></code><strong> </strong>which allows you to append multiple elements to the given list in an efficient manner.</p>



<h4 class="wp-block-heading">Removing Elements</h4>



<p>Removing an element <code>x</code> from a list can be easily achieved using the list method <code><a href="https://blog.finxter.com/how-to-remove-a-list-element-by-value-in-python/" data-type="post" data-id="198814" target="_blank" rel="noreferrer noopener">list.remove(x)</a></code>:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">l = [1, 2, 2, 4]
l.remove(1)
print(l)
# [2, 2, 4]
</pre>



<p>Note that the method operates on the list object itself—no new
list is created.</p>



<h4 class="wp-block-heading">Reversing Lists</h4>



<p>You can reverse the order of the list elements using the method <code><a href="https://blog.finxter.com/python-list-reverse/" data-type="post" data-id="6877" target="_blank" rel="noreferrer noopener">list.reverse()</a></code>.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">l = [1, 2, 2, 4]
l.reverse()
print(l)
# [4, 2, 2, 1]
</pre>



<p>Much like the method to remove an element from a list, reversing the
list modifies the original list object and does not merely create a new list
object.</p>



<h4 class="wp-block-heading">Sorting Lists</h4>



<p>You can sort the list elements using the method <code><a href="https://blog.finxter.com/python-list-sort/" data-type="post" data-id="7176" target="_blank" rel="noreferrer noopener">list.sort()</a></code>.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">l = [2, 1, 4, 2]
l.sort()
print(l)
# [1, 2, 2, 4]
</pre>



<p>Again, sorting the list modifies the original list object. </p>



<p>The resulting list is sorted in an ascending manner. </p>



<p>You can also <a href="https://blog.finxter.com/python-list-sort-key/" data-type="post" data-id="7306" target="_blank" rel="noreferrer noopener">specify a key function</a> and pass it as the parameter <code>key</code> to the <code>sort()</code> method to customize the sorting behavior. This way, you can also sort lists of custom objects (for example, sort a list of customer objects regarding their age). </p>



<p>The <code>key</code> function simply transforms one list element into an element that is sortable (such as an integer, float, or string element). </p>



<h4 class="wp-block-heading">Indexing List Elements</h4>



<p>You can determine the index of a specified list element <code>x</code> using the method <code>list.index(x)</code>. </p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">print([2, 2, 4].index(2))
# 0

print([2, 2, 4].index(2,1))
# 1
</pre>



<p>The method<strong> </strong><code>index(x)</code><strong> </strong>finds the first occurrence of the element <code>x</code> in the list and returns its index. </p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/python-lists/" data-type="post" data-id="7332" target="_blank" rel="noreferrer noopener">A Simple Guide to Python Lists</a></p>



<h3 class="wp-block-heading">Stack</h3>



<p>The <a href="https://en.wikipedia.org/wiki/Stack_(abstract_data_type)" data-type="URL" data-id="https://en.wikipedia.org/wiki/Stack_(abstract_data_type)" target="_blank" rel="noreferrer noopener">stack data structure</a> is a natural way of storing data items. Much like an unstructured person handles their paperwork: first in, first out. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="439" height="659" src="https://blog.finxter.com/wp-content/uploads/2022/08/image-98.png" alt="" class="wp-image-629231" srcset="https://blog.finxter.com/wp-content/uploads/2022/08/image-98.png 439w, https://blog.finxter.com/wp-content/uploads/2022/08/image-98-200x300.png 200w" sizes="auto, (max-width: 439px) 100vw, 439px" /></figure>
</div>


<p>Every new paper is placed at the top of a stack of papers. When working through the stack, they remove the topmost paper from the stack. As a result, the paper at the bottom never sees the daylight. </p>



<p>While this application does not seem to be a favorable way of using the stack data structure, the stack is still an extremely important fundamental data structure in <a href="https://blog.finxter.com/computer-science-research-scientist/" data-type="post" data-id="346253" target="_blank" rel="noreferrer noopener">computer science</a> used in operating system management, algorithms, syntax parsing, and <a href="https://blog.finxter.com/python-backtracking-a-helpful-guide-with-video/" data-type="post" data-id="170273" target="_blank" rel="noreferrer noopener">backtracking</a>.</p>



<p>Python lists can be used intuitively as stacks via the two list operations <code><a href="https://blog.finxter.com/python-list-append/" data-type="post" data-id="6605" target="_blank" rel="noreferrer noopener">append()</a></code> and <code><a href="https://blog.finxter.com/python-list-pop/" data-type="post" data-id="6853" target="_blank" rel="noreferrer noopener">pop()</a></code>:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">stack = [3]
stack.append(42) # [3, 42]
stack.pop() # 42 (stack: [3])
stack.pop() # 3 (stack: [])
</pre>



<p>Due to the efficiency of the list implementation, there is usually no need to import external stack libraries.</p>



<h3 class="wp-block-heading">Set</h3>



<p>The set data structure is one of the basic collection data types in Python and many other <a href="https://blog.finxter.com/best-programming-languages-to-start-freelancing-in-2020/" data-type="post" data-id="14208" target="_blank" rel="noreferrer noopener">programming languages</a>. There are even popular languages for <a href="https://blog.finxter.com/distributed-systems-engineer/" data-type="post" data-id="359888" target="_blank" rel="noreferrer noopener">distributed computing</a> that focus almost exclusively on <a href="https://blog.finxter.com/python-set-methods/" data-type="post" data-id="27963" target="_blank" rel="noreferrer noopener">set operations</a> (like <a href="https://blog.finxter.com/mapreduce/" data-type="post" data-id="387" target="_blank" rel="noreferrer noopener">MapReduce</a> or <a href="https://blog.finxter.com/apache-spark-developer-income-and-opportunity/" data-type="post" data-id="259597" target="_blank" rel="noreferrer noopener">Apache Spark</a>) as programming primitives. </p>



<p>So what is a set exactly?</p>



<p class="has-global-color-8-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2139.png" alt="ℹ" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Definition</strong>: A set is an unordered collection of unique elements.</p>



<p>Let’s break this definition into its main pieces.</p>



<p>(1) <strong>Collection</strong>: A set is a collection of elements like a list or a tuple. </p>



<p>The collection consists of either primitive elements (e.g. integers, floats, strings), or complex elements (e.g. objects, tuples). </p>



<p>However, all data types must be <a href="https://blog.finxter.com/python-hash-function/" data-type="post" data-id="24483" target="_blank" rel="noreferrer noopener">hashable</a> (a hash value of an object does never change and is used to compare the object to other objects). </p>



<p>Let’s have a look at an example.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">hero = "Harry"
guide = "Dumbledore"
enemy = "Lord V."
print(hash(hero))
# 6175908009919104006

print(hash(guide))
# -5197671124693729851

## Can we create a set of strings?
characters = {hero, guide, enemy}
print(characters)
# {'Lord V.', 'Dumbledore', 'Harry'}

## Can we create a set of lists?
team_1 = [hero, guide]
team_2 = [enemy]
teams = {team_1, team_2}
# TypeError: unhashable type: 'list'
</pre>



<p>As you can see, we can create a set of strings because strings are hashable. But we cannot create a set of lists because lists are <a href="https://blog.finxter.com/how-to-fix-typeerror-unhashable-type-list/" data-type="post" data-id="465745" target="_blank" rel="noreferrer noopener">unhashable</a>. </p>



<p>The reason is that lists are <strong><em>mutable</em></strong>: you can change a list by appending or removing elements. If you change the list data type, the hash value changes (it is calculated based on the content of the list). This violates the above definition (the hash value does not change). As mutable data types are not hashable, you cannot use them in sets.</p>



<p>(2) <strong>Unordered</strong>: Unlike lists, sets are unordered because there is no fixed order of the elements. In other words, regardless of the order in which you put stuff into the set, you can never be sure in which order the set stores these elements. </p>



<p>Here is an example:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">characters = {hero, guide, enemy}
print(characters)
# {'Lord V.', 'Dumbledore', 'Harry'}
</pre>



<p>You put in the hero first, but my <a href="https://blog.finxter.com/python-idle-vs-pycharm/" data-type="post" data-id="3345" target="_blank" rel="noreferrer noopener">interpreter</a> prints the enemy first (the Python interpreter is on the dark side, obviously). Note that your interpreter may print yet another order of the set elements.</p>



<p>(3) <strong>Unique</strong>: All elements in the set are unique. Each pair of values <code>(<strong>x,y</strong>)</code> in the set produces a different pair of hash values <code>(<strong>hash(x)!=hash(y)</strong>)</code>. </p>



<p>Hence, every two elements <strong><code>x</code></strong> and <strong>y</strong> in the set are different—as a result, we cannot create an army of Harry Potter clones to fight Lord V:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">clone_army = {hero, hero, hero, hero, hero, enemy}
print(clone_army)
# {'Lord V.', 'Harry'}
</pre>



<p>No matter how often you put the same value into the same set, the set stores only one instance of this value. </p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/sets-in-python/" data-type="post" data-id="1908" target="_blank" rel="noreferrer noopener">A Simple Guide to Python Sets</a></p>



<p>Note that an extension of the normal set data structure is the <em>multiset data structure</em> that can store multiple instances of the same value. However, it is seldom used in practice, so I don&#8217;t introduce it here.</p>



<h3 class="wp-block-heading">Dictionary</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="600" height="400" src="https://blog.finxter.com/wp-content/uploads/2022/08/image-101.png" alt="" class="wp-image-630409" srcset="https://blog.finxter.com/wp-content/uploads/2022/08/image-101.png 600w, https://blog.finxter.com/wp-content/uploads/2022/08/image-101-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>
</div>


<p>The dictionary is a useful data structure for storing (key, value)
pairs.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">calories = {'apple' : 52, 'banana' : 89, 'choco' : 546}</pre>



<p>You can read and write elements by specifying the key within brackets. </p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">print(calories['apple'] &lt; calories['choco'])
# True

calories['cappu'] = 74

print(calories['banana'] &lt; calories['cappu'])
# False
</pre>



<p>Use the <code><a href="https://blog.finxter.com/python-dict-keys-method/" data-type="post" data-id="37711" target="_blank" rel="noreferrer noopener">keys()</a></code><strong> </strong>and <code><a href="https://blog.finxter.com/python-dictionary-values-method/" data-type="post" data-id="51691" target="_blank" rel="noreferrer noopener">values()</a></code> functions to access all keys and values of the dictionary.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">print('apple' in calories.keys())
# True

print(52 in calories.values())
# True
</pre>



<p>Access the <code>(key, value)</code><strong> </strong>pairs of a dictionary with the <code><a href="https://blog.finxter.com/python-dict-items-method/" data-type="post" data-id="37673" target="_blank" rel="noreferrer noopener">items()</a></code> method. </p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">for k, v in calories.items():
    print(k) if v > 500 else None
# 'choco'
</pre>



<p>This way, it&#8217;s easy to <a href="https://blog.finxter.com/iterate-over-a-dictionary-python/" data-type="post" data-id="31837" target="_blank" rel="noreferrer noopener">iterate over all keys and all values</a> in a dictionary without accessing those individually.</p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a rel="noreferrer noopener" href="https://blog.finxter.com/python-dictionary/" data-type="post" data-id="5232" target="_blank">A Simple Guide to Python Dictionaries</a></p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Python Dictionary – The Ultimate Guide" width="937" height="527" src="https://www.youtube.com/embed/qX0qqEVpP5s?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h3 class="wp-block-heading">Tuples</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="768" height="432" src="https://blog.finxter.com/wp-content/uploads/2022/08/image-99.png" alt="" class="wp-image-630315" srcset="https://blog.finxter.com/wp-content/uploads/2022/08/image-99.png 768w, https://blog.finxter.com/wp-content/uploads/2022/08/image-99-300x169.png 300w" sizes="auto, (max-width: 768px) 100vw, 768px" /></figure>



<p class="has-base-background-color has-background"><strong>A Python tuple is an immutable, ordered, and iterable container data structure that can hold arbitrary and heterogeneous immutable data elements.</strong></p>



<p>Here&#8217;s a basic example of tuple creation and usage:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">t = (1, 2, 'Python', tuple(), (42, 'hi'))

for i in range(5):
    print(t[i])

'''
1
2
Python
()
(42, 'hi')
'''
</pre>



<p>The tuple data structure is a built-in data structure of the Python language with the following characteristics:</p>



<ul class="wp-block-list"><li>Tuples are <strong>containers</strong>, you can store data in them. The Python documentation defines a container as an object which implements the method <code>__contains__</code>. In other words a container is something you can use the <em><code>in</code></em> operator on. Other examples of containers in Python are list, dict, set or frozenset. The module collection contains more container types.</li><li>Tuples are <strong>ordered</strong>, each element has its position or, the other way round, the position has meaning.</li><li>Tuples are <strong>iterable</strong>, so you can use them, for example, in a for loop.</li><li>Tuples are <strong>immutable</strong> which means, you can’t change a tuple once it was created. Once a tuple was created you can’t modify it anymore. Another example of an immutable data type in Python is string. You can’t modify tuples or strings in Python, instead, Python creates a new instance with the modified values. However, if a tuple contains mutable data types such as lists, the elements of those lists can change! Yet, the references in the tuple to those lists can’t.</li><li>Tuples are <strong>heterogenous</strong> because they can contain elements of several different data types at once. An example of a homogenous data type are strings because they can only contain characters.</li></ul>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="The Ultimate Guide to Python Tuples | Intro and Theoretical Basics | Part 1/7" width="937" height="703" src="https://www.youtube.com/embed/D2i-SmUELJI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a href="https://blog.finxter.com/the-ultimate-guide-to-python-tuples/" data-type="URL" data-id="https://blog.finxter.com/the-ultimate-guide-to-python-tuples/" target="_blank" rel="noreferrer noopener">The Ultimate Guide to Python Tuples</a></p>



<p></p>



<h2 class="wp-block-heading" id="membership">Membership</h2>



<p class="has-base-background-color has-background">Python’s “<code>in</code>” operator is a reserved <a rel="noreferrer noopener" href="https://blog.finxter.com/python-cheat-sheet/" target="_blank">keyword </a>to test membership of the left operand in the collection defined as the right operand. For example, the expression <code>x in my_list checks</code> if object <code>x</code> exists in the <code>my_list</code> collection, so that at least one element <code>y</code> exists in <code>my_list</code> for that <code>x == y</code> holds. You can check membership using the “<code>in</code>” operator in collections such as <a rel="noreferrer noopener" href="https://blog.finxter.com/python-lists/" target="_blank">lists</a>, <a rel="noreferrer noopener" href="https://blog.finxter.com/sets-in-python/" target="_blank">sets</a>, <a rel="noreferrer noopener" href="https://blog.finxter.com/python-string-methods/" target="_blank">strings</a>, and <a rel="noreferrer noopener" href="https://blog.finxter.com/the-ultimate-guide-to-python-tuples/" target="_blank">tuples</a>.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1024" height="576" src="https://blog.finxter.com/wp-content/uploads/2022/08/image-100.png" alt="" class="wp-image-630375" srcset="https://blog.finxter.com/wp-content/uploads/2022/08/image-100.png 1024w, https://blog.finxter.com/wp-content/uploads/2022/08/image-100-300x169.png 300w, https://blog.finxter.com/wp-content/uploads/2022/08/image-100-768x432.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Check with the keyword <code>in</code> whether the set, list, or dictionary contains an element. Note that set membership is faster than list membership.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">basket = {'apple', 'eggs', 'banana', 'orange'}

print('eggs' in basket)
# True

print('mushroom' in basket)
# False
</pre>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a rel="noreferrer noopener" href="https://blog.finxter.com/python-membership-in-operator/" data-type="post" data-id="34005" target="_blank">A Simple Guide to the Membership Operator in Python</a></p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Python &quot;in&quot; &amp; &quot;not in&quot; Membership Operators [Ultimate Guide]" width="937" height="527" src="https://www.youtube.com/embed/oQkfuBAk9lo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>Also, check out our &#8220;negative membership&#8221; operator tutorial <a href="https://blog.finxter.com/python-membership-not-in-operator/" data-type="post" data-id="34063" target="_blank" rel="noreferrer noopener">here</a>.</p>



<h2 class="wp-block-heading" id="list-comprehension">List and Set Comprehension</h2>



<p>List comprehension is a popular Python feature that helps you to create lists. The simple formula is <strong><code>[ expression + context ]</code></strong>.</p>



<p><strong>Expression</strong>: What to do with each list element?</p>



<p><strong>Context</strong>: What list elements to select? The context consists of an arbitrary number of for and if statements.</p>



<p>For example, the list comprehension statement <strong><code>[x for x in range(3)]</code></strong> creates the list<strong> <code>[0, 1, 2]</code></strong>. </p>



<p>Another example is the following:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="python" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># (name, $-income)
customers = [("John", 240000),
             ("Alice", 120000),
             ("Ann", 1100000),
             ("Zach", 44000)]

# your high-value customers earning >$1M
whales = [x for x,y in customers if y>1000000]
print(whales)
# ['Ann']
</pre>



<p><a href="https://blog.finxter.com/brackets-a-simple-introduction-to-set-comprehension-in-python/" data-type="post" data-id="1153" target="_blank" rel="noreferrer noopener">Set comprehension</a> is like list comprehension but creates a set rather than a list.</p>



<p class="has-base-background-color has-background"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f30d.png" alt="🌍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Recommended Tutorial</strong>: <a rel="noreferrer noopener" href="https://blog.finxter.com/list-comprehension/" data-type="post" data-id="1171" target="_blank">A Simple Guide to List Comprehension in Python</a></p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="A Simple Introduction to List Comprehension in Python" width="937" height="527" src="https://www.youtube.com/embed/9qsq2Vf48W8?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading" id="summary">Summary</h2>



<p>This article gave you a concise Python crash course to refresh your basic Python education. </p>



<p>You studied the most important <strong>Python keywords</strong> and how to use them in code examples. </p>



<p>As a result, you learned how to control the program execution flow using <strong>if-<g class="gr_ gr_9 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" id="9" data-gr-id="9">elif</g>-else</strong> statements, as well as the <strong>while </strong>and the <strong>for loop</strong>. </p>



<p>Moreover, you revisited the<strong> basic data types</strong> in Python—<strong>Boolean, integer, float, and string</strong>—and which built-in operations and functions are commonly used in practice. </p>



<p>Most code snippets in practice and non-trivial algorithms are built around more powerful <strong>container types </strong>such as <strong>lists, stacks, sets, and dictionaries</strong>. By studying the given examples, you learned how to add, remove, insert, and reorder elements. </p>



<p>Finally, you learned about <strong>membership operators</strong> and <strong>list comprehension</strong>: an efficient and powerful built-in method to create lists programmatically in Python.<br></p>



<hr class="wp-block-separator has-css-opacity"/>



<p>I wrote this 5000<g class="gr_ gr_5 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" id="5" data-gr-id="5">&#8211;</g>word article for my best-selling book &#8220;<a rel="noreferrer noopener" href="https://www.amazon.com/gp/product/B07ZY7XMX8" target="_blank">Python One-Liners</a>&#8221; with the San Francisco-based publisher NoStarch. </p>



<h2 class="wp-block-heading">Python One-Liners Book: Master the Single Line First!</h2>



<p><strong>Python programmers will improve their computer science skills with these useful one-liners.</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-medium is-resized"><a href="https://www.amazon.com/gp/product/B07ZY7XMX8" target="_blank" rel="noopener noreferrer"><img loading="lazy" decoding="async" src="https://blog.finxter.com/wp-content/uploads/2020/06/3D_cover-1024x944.jpg" alt="Python One-Liners" class="wp-image-10007" width="512" height="472" srcset="https://blog.finxter.com/wp-content/uploads/2020/06/3D_cover-scaled.jpg 1024w, https://blog.finxter.com/wp-content/uploads/2020/06/3D_cover-300x277.jpg 300w, https://blog.finxter.com/wp-content/uploads/2020/06/3D_cover-768x708.jpg 768w" sizes="auto, (max-width: 512px) 100vw, 512px" /></a></figure></div>



<p><a href="https://amzn.to/2WAYeJE" target="_blank" rel="noreferrer noopener" title="https://amzn.to/2WAYeJE"><em>Python One-Liners</em> </a>will teach you how to read and write &#8220;one-liners&#8221;: <strong><em>concise statements of useful functionality packed into a single line of code. </em></strong>You&#8217;ll learn how to systematically unpack and understand any line of Python code, and write eloquent, powerfully compressed Python like an expert.</p>



<p>The book&#8217;s five chapters cover (1) tips and tricks, (2) regular expressions, (3) machine learning, (4) core data science topics, and (5) useful algorithms. </p>



<p>Detailed explanations of one-liners introduce <strong><em>key computer science concepts </em></strong>and<strong><em> boost your coding and analytical skills</em></strong>. You&#8217;ll learn about advanced Python features such as <em><strong>list comprehension</strong></em>, <strong><em>slicing</em></strong>, <strong><em>lambda functions</em></strong>, <strong><em>regular expressions</em></strong>, <strong><em>map </em></strong>and <strong><em>reduce </em></strong>functions, and <strong><em>slice assignments</em></strong>. </p>



<p>You&#8217;ll also learn how to:</p>



<ul class="wp-block-list"><li>Leverage data structures to <strong>solve real-world problems</strong>, like using Boolean indexing to find cities with above-average pollution</li><li>Use <strong>NumPy basics</strong> such as <em>array</em>, <em>shape</em>, <em>axis</em>, <em>type</em>, <em>broadcasting</em>, <em>advanced indexing</em>, <em>slicing</em>, <em>sorting</em>, <em>searching</em>, <em>aggregating</em>, and <em>statistics</em></li><li>Calculate basic <strong>statistics </strong>of multidimensional data arrays and the K-Means algorithms for unsupervised learning</li><li>Create more <strong>advanced regular expressions</strong> using <em>grouping </em>and <em>named groups</em>, <em>negative lookaheads</em>, <em>escaped characters</em>, <em>whitespaces, character sets</em> (and <em>negative characters sets</em>), and <em>greedy/nongreedy operators</em></li><li>Understand a wide range of <strong>computer science topics</strong>, including <em>anagrams</em>, <em>palindromes</em>, <em>supersets</em>, <em>permutations</em>, <em>factorials</em>, <em>prime numbers</em>, <em>Fibonacci </em>numbers, <em>obfuscation</em>, <em>searching</em>, and <em>algorithmic sorting</em></li></ul>



<p>By the end of the book, you&#8217;ll know how to <strong><em>write Python at its most refined</em></strong>, and create concise, beautiful pieces of &#8220;Python art&#8221; in merely a single line.</p>



<p><strong><a href="https://amzn.to/2WAYeJE" target="_blank" rel="noreferrer noopener" title="https://amzn.to/2WAYeJE"><em>Get your Python One-Liners on Amazon!!</em></a></strong></p>
<p>The post <a href="https://blog.finxter.com/python-crash-course/">Python Programming Tutorial [+Cheat Sheets]</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[Python Mini Game] Can You Help Alice Find Her Dad?</title>
		<link>https://blog.finxter.com/python-mini-game-can-you-help-alice-find-her-dad/</link>
					<comments>https://blog.finxter.com/python-mini-game-can-you-help-alice-find-her-dad/#respond</comments>
		
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Tue, 24 Aug 2021 12:24:00 +0000</pubDate>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Daily Python Puzzle]]></category>
		<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=3057</guid>

					<description><![CDATA[<p>Alice ? has lost her father in the maze. ? To make matters worse, the maze is full of evil animals ? that keep her father captured. ? The animals play a game with her: they will only leave her through if she solves the difficult Python puzzles. ? Fortunately, you have trained your puzzle ... <a title="[Python Mini Game] Can You Help Alice Find Her Dad?" class="read-more" href="https://blog.finxter.com/python-mini-game-can-you-help-alice-find-her-dad/" aria-label="Read more about [Python Mini Game] Can You Help Alice Find Her Dad?">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/python-mini-game-can-you-help-alice-find-her-dad/">[Python Mini Game] Can You Help Alice Find Her Dad?</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Alice ? has lost her father in the maze. ?</p>



<p>To make matters worse, the maze is full of evil animals ? that keep her father captured. ?</p>



<p>The animals play a game with her: they will only leave her through if she solves the difficult Python puzzles. ?</p>



<p>Fortunately, you have trained your puzzle solving skills, haven&#8217;t you? ??</p>



<p>Can you help Alice out with your <strong>nerd super power</strong>? ? </p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/04/13-Python-Test-Sheet-Alice-1.pdf" target="_blank" rel="noreferrer noopener"><img loading="lazy" decoding="async" src="https://blog.finxter.com/wp-content/uploads/2019/04/13-Python-Test-Sheet-Alice.jpg" alt="" class="wp-image-3055" width="180" height="240" srcset="https://blog.finxter.com/wp-content/uploads/2019/04/13-Python-Test-Sheet-Alice.jpg 720w, https://blog.finxter.com/wp-content/uploads/2019/04/13-Python-Test-Sheet-Alice-225x300.jpg 225w, https://blog.finxter.com/wp-content/uploads/2019/04/13-Python-Test-Sheet-Alice-100x133.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/04/13-Python-Test-Sheet-Alice-670x893.jpg 670w" sizes="auto, (max-width: 180px) 100vw, 180px" /></a></figure></div>



<div class="wp-block-button aligncenter"><a class="wp-block-button__link has-vivid-cyan-blue-background-color has-background no-border-radius" href="https://blog.finxter.com/wp-content/uploads/2019/04/13-Python-Test-Sheet-Alice-1.pdf">Download PDF with Interactive Links</a></div>



<p>Alice counts on you, so don&#8217;t disappoint her.</p>



<p>BONUS: how many BONUS items can you collect on the way to make Alices dad happy? But beware &#8212; if you cannot solve a question, Alice will be lost in the maze forever! </p>



<p>If you like games and Python sheets, feel free to check out my Python email cheat sheet academy:</p>






<p></p>



<p></p>
<p>The post <a href="https://blog.finxter.com/python-mini-game-can-you-help-alice-find-her-dad/">[Python Mini Game] Can You Help Alice Find Her Dad?</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.finxter.com/python-mini-game-can-you-help-alice-find-her-dad/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>16 PDF Cheat Sheets for Programmers</title>
		<link>https://blog.finxter.com/pdf-cheat-sheets-for-programmers/</link>
		
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Tue, 04 May 2021 12:29:56 +0000</pubDate>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[NumPy]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python List]]></category>
		<guid isPermaLink="false">https://blog.finxter.com/?p=29394</guid>

					<description><![CDATA[<p>A couple of years ago, I fell into the habit of creating cheat sheets when exploring certain areas in the programming space. Over time, hundreds of thousands of Finxters have downloaded and used them in their own learning journeys. However, the cheat sheets are largely scattered around many different locations on the Finxter ecosystem. And ... <a title="16 PDF Cheat Sheets for Programmers" class="read-more" href="https://blog.finxter.com/pdf-cheat-sheets-for-programmers/" aria-label="Read more about 16 PDF Cheat Sheets for Programmers">Read more</a></p>
<p>The post <a href="https://blog.finxter.com/pdf-cheat-sheets-for-programmers/">16 PDF Cheat Sheets for Programmers</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>A couple of years ago, I fell into the habit of creating cheat sheets when exploring certain areas in the programming space. Over time, <strong><em>hundreds of thousands of <a href="https://finxter.com/" target="_blank" rel="noreferrer noopener" title="https://finxter.com/">Finxters </a>have downloaded and used them</em></strong> in their own learning journeys. </p>



<p>However, the cheat sheets are largely scattered around many different locations on the Finxter ecosystem. And even though I share all of them with my beloved Finxter community ? of ambitious coders&#8212;and subscribers to my free computer science email academy, <a href="https://blog.finxter.com/subscribe/" title="Subscribe" target="_blank" rel="noreferrer noopener">join us! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></a>&#8212;they may not be accessible at all times by all Finxters. <strong><em>Time to change that!</em></strong></p>



<p>In this article, I collect all <strong>Finxter cheat sheets</strong> and links to their <strong>PDF download</strong> locations. Feel free to share it with your hacker friends and coding mates!</p>



<p class="has-pale-cyan-blue-background-color has-background"><strong>? Click each image to open the high-resolution PDF in a new tab!</strong></p>



<h2 class="wp-block-heading">The Ultimate Python Cheat Sheet</h2>



<p>This is my absolute favorite cheat sheet because it teaches you the basics of three fundamental cheat sheets that I just condensed into this single one. Look for yourself:</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2020/07/Finxter_WorldsMostDensePythonCheatSheet.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2020/07/Finxter_WorldsMostDensePythonCheatSheet.jpg" alt="Python Ultimate Cheat Sheet" class="wp-image-10723" width="500" title="Finxter_WorldsMostDensePythonCheatSheet" srcset="https://blog.finxter.com/wp-content/uploads/2020/07/Finxter_WorldsMostDensePythonCheatSheet.jpg 720w, https://blog.finxter.com/wp-content/uploads/2020/07/Finxter_WorldsMostDensePythonCheatSheet-225x300.jpg 225w" sizes="(max-width: 720px) 100vw, 720px" /></a></figure></div>



<h2 class="wp-block-heading">Python Keywords Cheat Sheet</h2>



<p><a href="https://blog.finxter.com/python-cheat-sheet/" title="Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know" target="_blank" rel="noreferrer noopener">Python keywords</a> are reserved words with a special meaning. Make sure to understand all of them by heart!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2018/06/CheatSheet-Python-1-Keywords-1.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-1-Keywords-1.jpg" alt="" class="wp-image-845" width="500" title="CheatSheet Python 1 Keywords-1" srcset="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-1-Keywords-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-1-Keywords-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-1-Keywords-1-768x994.jpg 768w" sizes="(max-width: 791px) 100vw, 791px" /></a></figure></div>



<h2 class="wp-block-heading">Python Basic Data Types Cheat Sheet</h2>



<p>Programming mastery comes from two things: data and functions. This cheat sheet is about the former!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-2_-Data-Structures.docx.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-2-Data-Structures.docx-1.jpg" alt="" class="wp-image-846" width="500" title="CheatSheet Python 2 Data Structures.docx-1" srcset="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-2-Data-Structures.docx-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-2-Data-Structures.docx-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-2-Data-Structures.docx-1-768x994.jpg 768w" sizes="(max-width: 791px) 100vw, 791px" /></a></figure></div>



<h2 class="wp-block-heading">Python Complex Data Types Cheat Sheet</h2>



<p>The complex or container data types in Python are lists, sets, dictionary, and tuples. We&#8217;ve written an in-depth guide on each of those if the cheat sheet is too shallow for you:</p>



<ul class="wp-block-list"><li><a href="https://blog.finxter.com/python-lists/" title="The Ultimate Guide to Python Lists" target="_blank" rel="noreferrer noopener">The Ultimate Guide to Python Lists</a></li><li><a href="https://blog.finxter.com/sets-in-python/" title="The Ultimate Guide to Python Sets – with Harry Potter Examples" target="_blank" rel="noreferrer noopener">The Ultimate Guide to Python Sets</a></li><li><a href="https://blog.finxter.com/the-ultimate-guide-to-python-tuples/" title="The Ultimate Guide To Python Tuples" target="_blank" rel="noreferrer noopener">The Ultimate Guide to Python Tuples</a></li><li><a href="https://blog.finxter.com/python-dictionary/" title="Python Dictionary – The Ultimate Guide" target="_blank" rel="noreferrer noopener">The Ultimate Guide to Python Dictionaries</a></li></ul>



<p>And here&#8217;s the cheat sheet:</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-3_-Complex-Data-Types.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-3-Complex-Data-Types-1.jpg" alt="" class="wp-image-849" width="500" title="CheatSheet Python 3 - Complex Data Types-1" srcset="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-3-Complex-Data-Types-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-3-Complex-Data-Types-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-3-Complex-Data-Types-1-768x994.jpg 768w" sizes="(max-width: 791px) 100vw, 791px" /></a></figure></div>



<h2 class="wp-block-heading">Python List Methods Cheat Sheet</h2>



<p>A big part of mastering lists is to master the methods provided by the list data structure. You can do this in the cheat sheet or in my in-depth course on Python <a href="https://blog.finxter.com/python-list-methods/" target="_blank" rel="noreferrer noopener" title="Python List Methods">list methods</a> here.</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2020/04/Python-List-Methods-Cheat-Sheet.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2020/04/Python-List-Methods-Cheat-Sheet.jpg" alt="" class="wp-image-7544" width="500" srcset="https://blog.finxter.com/wp-content/uploads/2020/04/Python-List-Methods-Cheat-Sheet.jpg 670w, https://blog.finxter.com/wp-content/uploads/2020/04/Python-List-Methods-Cheat-Sheet-231x300.jpg 231w" sizes="(max-width: 670px) 100vw, 670px" /></a></figure></div>



<h2 class="wp-block-heading">Python Set Methods Cheat Sheet</h2>



<p>Let&#8217;s move on to one of the most underutilized data structures in Python: sets. They&#8217;re far more efficient than lists&#8212;if you can handle the reduced expressiveness. You can find all <a href="https://academy.finxter.com/university/the-ultimate-guide-to-sets-in-python/" title="https://academy.finxter.com/university/the-ultimate-guide-to-sets-in-python/" target="_blank" rel="noreferrer noopener">set methods </a>explained in detail in the <a href="https://academy.finxter.com/university/the-ultimate-guide-to-sets-in-python/" target="_blank" rel="noreferrer noopener" title="https://academy.finxter.com/university/the-ultimate-guide-to-sets-in-python/">Finxter Academy course</a>.</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2021/05/Python-Set-Methods-Cheat-Sheet.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2021/05/Python-Set-Methods-Cheat-Sheet.png" alt="Python Set Methods Cheat Sheet" class="wp-image-29334" width="500" srcset="https://blog.finxter.com/wp-content/uploads/2021/05/Python-Set-Methods-Cheat-Sheet.png 612w, https://blog.finxter.com/wp-content/uploads/2021/05/Python-Set-Methods-Cheat-Sheet-233x300.png 233w" sizes="(max-width: 612px) 100vw, 612px" /></a></figure></div>



<h2 class="wp-block-heading">Python Object Orientation Terminology Cheat Sheet</h2>



<p>We need to use the right words to communicate effectively with other programmers. This cheat sheet will show you all the <a href="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="[Python OOP Cheat Sheet] A Simple Overview of Object-Oriented Programming">words </a>you need to know in object orientation!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-8_-OO-Terminology.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-8_-OO-Terminology-1-791x1024.jpg" alt="" class="wp-image-2130" width="500" srcset="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-8_-OO-Terminology-1.jpg 791w, https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-8_-OO-Terminology-1-232x300.jpg 232w, https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-8_-OO-Terminology-1-768x994.jpg 768w, https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-8_-OO-Terminology-1-100x129.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-8_-OO-Terminology-1-862x1116.jpg 862w, https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-8_-OO-Terminology-1-890x1152.jpg 890w" sizes="(max-width: 791px) 100vw, 791px" /></a></figure></div>



<h2 class="wp-block-heading">Python Classes Cheat Sheet</h2>



<p>Let&#8217;s really dive into two concepts of object-oriented programming: classes and objects. These things are must-knows for you as an effective programmer!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-4_-Classes.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-4-Classes.png" alt="" class="wp-image-847" width="500" title="CheatSheet Python 4 - Classes" srcset="https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-4-Classes.png 1700w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-4-Classes-232x300.png 232w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-4-Classes-768x994.png 768w, https://blog.finxter.com/wp-content/uploads/2018/10/CheatSheet-Python-4-Classes-791x1024.png 791w" sizes="(max-width: 1700px) 100vw, 1700px" /></a></figure></div>



<h2 class="wp-block-heading">Python Functions and Tricks Cheat Sheet</h2>



<p>I know you like tricks and hacks. Here are some of the most interesting ones! You can also watch me explaining those in a video tutorial <a href="https://blog.finxter.com/the-top-18-best-python-tricks/" target="_blank" rel="noreferrer noopener" title="Top 18 Cool Python Tricks">here</a>. </p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-5_-Functions-and-Tricks.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2018/07/CheatSheet-Python-5-Functions-and-Tricks.png" alt="CheatSheet Python 5 - Functions and Tricks" class="wp-image-450" width="500" title="Cheat Sheet Python 5 - Functions and Tricks" srcset="https://blog.finxter.com/wp-content/uploads/2018/07/CheatSheet-Python-5-Functions-and-Tricks.png 1700w, https://blog.finxter.com/wp-content/uploads/2018/07/CheatSheet-Python-5-Functions-and-Tricks-232x300.png 232w, https://blog.finxter.com/wp-content/uploads/2018/07/CheatSheet-Python-5-Functions-and-Tricks-768x994.png 768w, https://blog.finxter.com/wp-content/uploads/2018/07/CheatSheet-Python-5-Functions-and-Tricks-791x1024.png 791w, https://blog.finxter.com/wp-content/uploads/2018/07/CheatSheet-Python-5-Functions-and-Tricks-1200x1553.png 1200w" sizes="(max-width: 1700px) 100vw, 1700px" /></a></figure></div>



<h2 class="wp-block-heading">Python Interview Questions Cheat Sheet</h2>



<p>Let&#8217;s get serious! These questions are likely to get asked in a <a href="https://blog.finxter.com/python-interview-questions/" target="_blank" rel="noreferrer noopener" title="They Use These 15+ Python Interview Questions To Fail You … (And What You Can Do About It)">coding interview</a>, so make sure to prepare accordingly!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/02/CheatSheet-Python-6_-Coding-Interview-Questions.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1.png" alt="" class="wp-image-1096" width="500" title="CheatSheet Python 6 - Coding Interview Questions Email Course Ad-1" srcset="https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1.png 1700w, https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1-232x300.png 232w, https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1-768x994.png 768w, https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1-791x1024.png 791w, https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1-100x129.png 100w, https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1-864x1118.png 864w, https://blog.finxter.com/wp-content/uploads/2018/11/CheatSheet-Python-6-Coding-Interview-Questions-Email-Course-Ad-1-1200x1553.png 1200w" sizes="(max-width: 1700px) 100vw, 1700px" /></a></figure></div>



<h2 class="wp-block-heading">Python NumPy Cheat Sheet</h2>



<p><a href="https://blog.finxter.com/numpy-tutorial/" target="_blank" rel="noreferrer noopener" title="NumPy Tutorial – Everything You Need to Know to Get Started">NumPy </a>is the secret sauce of Python&#8217;s data scientists and machine learning engineers. Virtually any framework in the data science space builds on NumPy such as <a href="https://blog.finxter.com/tensorflow-overview/" target="_blank" rel="noreferrer noopener" title="TensorFlow — A Helpful Illustrated Guide">TensorFlow</a>, <a href="https://blog.finxter.com/coffee-break-pandas/" target="_blank" rel="noreferrer noopener" title="Coffee Break Pandas">Pandas</a>, <a href="https://blog.finxter.com/best-matplotlib-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="Best Matplotlib Cheat Sheet">Matplotlib</a>. Figure this out first!</p>



<div class="wp-block-image"><figure class="aligncenter"><a href="https://blog.finxter.com/wp-content/uploads/2019/04/CheatSheet-Python-7_-NumPy-1.pdf" target="_blank" rel="noopener"><img loading="lazy" decoding="async" width="500" height="647" src="https://blog.finxter.com/wp-content/uploads/2019/04/CheatSheet-Python-7-NumPy-e1554387715883.jpg" alt="" class="wp-image-2551" title="CheatSheet Python 7 - NumPy"/></a></figure></div>



<h2 class="wp-block-heading">Python Book Simplicity Cheat Sheet</h2>



<p>Here&#8217;s the cheat sheet about my latest book <strong><em>Simplicity &#8212; The Finer Art of Creating Software</em></strong> about how to boost your coding productivity to the next level and beyond. It&#8217;ll appear in 2021&#8212;so <a href="https://blog.finxter.com/subscribe/" target="_blank" rel="noreferrer noopener" title="Subscribe">stay tuned!</a></p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2021/03/Simplicity_TheFinerArtOfCreatingSoftware_CheatSheet_1Page.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2021/03/Finxter_Simplify.jpg" alt="" class="wp-image-26611" width="500" title="Finxter_Simplify" srcset="https://blog.finxter.com/wp-content/uploads/2021/03/Finxter_Simplify.jpg 720w, https://blog.finxter.com/wp-content/uploads/2021/03/Finxter_Simplify-225x300.jpg 225w" sizes="(max-width: 720px) 100vw, 720px" /></a></figure></div>



<h2 class="wp-block-heading">Python 6 Machine Learning Algorithms Cheat Sheet</h2>



<p>A quick and simple cheat sheet with six links to the most important machine learning algorithms. Ready? Set. Go!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/04/12-Machine-Learning-Algorithms-1.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2019/04/12-Machine-Learning-Algorithms.jpg" alt="" class="wp-image-2614" width="500" srcset="https://blog.finxter.com/wp-content/uploads/2019/04/12-Machine-Learning-Algorithms.jpg 720w, https://blog.finxter.com/wp-content/uploads/2019/04/12-Machine-Learning-Algorithms-225x300.jpg 225w, https://blog.finxter.com/wp-content/uploads/2019/04/12-Machine-Learning-Algorithms-100x133.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/04/12-Machine-Learning-Algorithms-670x893.jpg 670w" sizes="(max-width: 720px) 100vw, 720px" /></a></figure></div>



<h2 class="wp-block-heading">Python Support Vector Machines Cheat Sheet</h2>



<p>Deep dive into the powerful SVM algorithm that has superior generalization properties and even works in higher-dimensional spaces. Support Vector Machines are beautiful! ?</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-10-Machine-Learning-SVM.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-10-Machine-Learning-SVM.jpg" alt="" class="wp-image-2496" width="500" srcset="https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-10-Machine-Learning-SVM.jpg 720w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-10-Machine-Learning-SVM-225x300.jpg 225w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-10-Machine-Learning-SVM-100x133.jpg 100w, https://blog.finxter.com/wp-content/uploads/2019/03/CheatSheet-Python-10-Machine-Learning-SVM-670x893.jpg 670w" sizes="(max-width: 720px) 100vw, 720px" /></a></figure></div>



<h2 class="wp-block-heading">Python Git Cheat Sheet</h2>



<p>Every programmer needs to understand <a href="https://blog.finxter.com/top-cheat-sheets-for-git/" target="_blank" rel="noreferrer noopener" title="Top 10 Git Cheat Sheets">Git</a>. Because Git is at the core of every project&#8217;s workflow. Write code and commit it to the big project. As you can&#8217;t avoid it anyways, why not master it today?</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2019/05/12_git_cheat_sheet.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2019/05/12_git_cheat_sheet.jpg" alt="Git Cheat Sheet" width="500"/></a></figure></div>



<h2 class="wp-block-heading">Python Plotly Dash Cheat Sheet</h2>



<p>Again a cheat sheet from our new and upcoming book about <strong><em>Plotly Dash</em></strong>. Dash is an exciting framework to <a href="https://blog.finxter.com/python-plotly-dash-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="Python Plotly Dash Cheat Sheet">create beautiful dashboard applications</a> and host them on the web. Stay tuned to learn about the launch&#8212;it&#8217;ll be fun!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><a href="https://blog.finxter.com/wp-content/uploads/2021/04/Dash_Cheat_Sheet.pdf" target="_blank" rel="noopener"><img decoding="async" src="https://blog.finxter.com/wp-content/uploads/2021/04/Dash_Cheat_Sheet.jpg" alt="Python Plotly Dash Cheat Sheet" class="wp-image-28075" width="500" srcset="https://blog.finxter.com/wp-content/uploads/2021/04/Dash_Cheat_Sheet.jpg 720w, https://blog.finxter.com/wp-content/uploads/2021/04/Dash_Cheat_Sheet-225x300.jpg 225w" sizes="(max-width: 720px) 100vw, 720px" /></a></figure></div>



<p>That&#8217;s it for now&#8212;I&#8217;ll keep updating new cheat sheets as I produce them. Stay tuned to make sure to be informed about each new Cheat Sheet I publish on the Finxter blog. </p>






<p>You can also check out these interesting blog articles about cheat sheets&#8212;many with videos:</p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<p><strong>Related Articles:</strong></p>



<ul class="wp-block-list"><li><a href="https://blog.finxter.com/collection-5-cheat-sheets-every-python-coder-must-own/" target="_blank" rel="noreferrer noopener" title="[Collection] 11 Python Cheat Sheets Every Python Coder Must Own">[Collection] 11 Python Cheat Sheets Every Python Coder Must Own</a></li><li><a href="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/object-oriented-programming-terminology-cheat-sheet/">[Python OOP Cheat Sheet] A Simple Overview of Object-Oriented Programming</a></li><li><a href="https://blog.finxter.com/machine-learning-cheat-sheets/" title="[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall" target="_blank" rel="noreferrer noopener">[Collection] 15 Mind-Blowing Machine Learning Cheat Sheets to Pin to Your Toilet Wall</a></li><li><a href="https://blog.finxter.com/python-cheat-sheets/" title="https://blog.finxter.com/python-cheat-sheets/" target="_blank" rel="noreferrer noopener">Your 8+ Free Python Cheat Sheet [Course]</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet/" target="_blank" rel="noreferrer noopener" title="Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know">Python Beginner Cheat Sheet: 19 Keywords Every Coder Must Know</a></li><li><a href="https://blog.finxter.com/python-cheat-sheet-functions-and-tricks/" title="Python Functions and Tricks Cheat Sheet" target="_blank" rel="noreferrer noopener">Python Functions and Tricks Cheat Sheet</a></li><li><a href="https://blog.finxter.com/python-interview-questions/" target="_blank" rel="noreferrer noopener" title="https://blog.finxter.com/python-interview-questions/">Python Cheat Sheet: 14 Interview Questions</a></li><li><a href="https://blog.finxter.com/pandas-cheat-sheets/" title="[PDF Collection] 7 Beautiful Pandas Cheat Sheets — Post Them to Your Wall" target="_blank" rel="noreferrer noopener">Beautiful Pandas Cheat Sheets</a></li><li><a href="https://blog.finxter.com/collection-10-best-numpy-cheat-sheets-every-python-coder-must-own/" title="[Collection] 10 Best NumPy Cheat Sheets Every Python Coder Must Own" target="_blank" rel="noreferrer noopener">10 Best NumPy Cheat Sheets</a></li><li><a href="https://blog.finxter.com/python-list-methods-cheat-sheet-instant-pdf-download/" title="Python List Methods Cheat Sheet [Instant PDF Download]" target="_blank" rel="noreferrer noopener">Python List Methods Cheat Sheet [Instant PDF Download]</a></li><li><a href="https://blog.finxter.com/cheat-sheet-6-pillar-machine-learning-algorithms/" target="_blank" rel="noreferrer noopener" title="[Cheat Sheet] 6 Pillar Machine Learning Algorithms">[Cheat Sheet] 6 Pillar Machine Learning Algorithms</a></li></ul>
</div></div>



<p>Thanks for checking out the whole article&#8212;let&#8217;s round this up with the standard Finxter &#8220;post footer&#8221;. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://blog.finxter.com/pdf-cheat-sheets-for-programmers/">16 PDF Cheat Sheets for Programmers</a> appeared first on <a href="https://blog.finxter.com">Be on the Right Side of Change</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: blog.finxter.com @ 2026-06-05 04:46:57 by W3 Total Cache
-->