<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Saif Kholid on Medium]]></title>
        <description><![CDATA[Stories by Saif Kholid on Medium]]></description>
        <link>https://medium.com/@khoolid?source=rss-4161607c0664------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EcF-ciZgW7bsZLp6T2xSKg.jpeg</url>
            <title>Stories by Saif Kholid on Medium</title>
            <link>https://medium.com/@khoolid?source=rss-4161607c0664------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 18:34:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@khoolid/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Multi-Election Ballot Smart Contract on the Blockchain with Solidity]]></title>
            <link>https://faun.pub/building-a-multi-election-ballot-smart-contract-on-the-blockchain-with-solidity-efcedadea4cc?source=rss-4161607c0664------2</link>
            <guid isPermaLink="false">https://medium.com/p/efcedadea4cc</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[elections]]></category>
            <category><![CDATA[solidity]]></category>
            <dc:creator><![CDATA[Saif Kholid]]></dc:creator>
            <pubDate>Wed, 16 Jul 2025 08:11:16 GMT</pubDate>
            <atom:updated>2025-07-21T13:47:54.650Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8LEVhIcPgsvcV0Qd" /><figcaption>Photo by <a href="https://unsplash.com/@vaccinium?utm_source=medium&amp;utm_medium=referral">Dmitrii Vaccinium</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>The development of blockchain technology encourages innovation in various fields, including digital election systems. The main goal is to build an application that is integrated with Ethereum-based smart contracts to support a transparent and secure voting system.</blockquote><p>Solidity is a programming language used to implement smart contracts on various blockchain platforms, especially Ethereum. With Solidity, we can create and implement smart contracts for various types of application, such as the one we are going to build — a decentralized voting application.</p><p>Some of the features of the application we will create include creating voting sessions, granting voting rights to voters, displaying the results of the voting, and many other features that will be explained throughout this tutorial</p><p><em>~So let’s just get started</em></p><p>The IDE we will use is <strong>Remix IDE</strong>. This IDE is used throughout the entire journey of smart contract development by users of all knowledge levels. It requires no setup, enables a fast development cycle, and offers a rich set of plugins with intuitive GUI’s. You can access it through the following link: <a href="https://remix.ethereum.org/"><em>Remix IDE</em></a></p><p>Let’s start by creating a new file to write the solidity code. You can do this in the file browser on the left hand side of the screen.</p><p>In the /contracts folder create a new file named MultiElectionBallot.sol<em>. </em>On the first line of this file, we’ll declare the version of the solidity programming language we want to use:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity &gt;= 0.7.0 &lt; 0.9.0;</pre><p>This contract is compatible with Solidity versions 0.7.0 up to 0.9.0.</p><p>Now we can declare the smart contract like this</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity &gt;= 0.7.0 &lt; 0.9.0;<br><br>contract MultiElectionBallot {<br>   // ...<br>}</pre><p>Let me briefly explain the functions we’ll create in this smart contract</p><ol><li>createElection() — used to create a new election</li><li>giveRightToVote() — grants voting rights to a specific user</li><li>vote() — allows a user to cast their vote</li><li>updateVote() — allows voters to change their vote before the voting period ends</li><li>winningProposal() — returns the index of the current winning proposal</li><li>winningName() — returns the name of the current winning proposal</li><li>timeLeft() — shows the remaining time for voting</li></ol><p><strong>— Data Structures</strong></p><p>First, we’ll define the data structures for the voter , proposal , and election . These structure will help us organize and manage the data within our smart contract clearly and efficiently. Here is the code:</p><pre>struct Voter {<br>  bool voted; // Whether the voter has voted<br>  uint256 vote; // Index of the proposal voted for<br>  uint256 weight; // Weight of the voter&#39;s vote<br>}<br><br>struct Proposal {<br>  bytes32 name; // Name of the proposal<br>  uint256 voteCount; // Total votes received<br>}<br><br>struct Election {<br>  bytes32 title; // Title of the election<br>  Proposal[] proposals; // List of proposals<br>  mapping(address =&gt; Voter) voters; // Tracks voter data by address<br>  uint256 votingDeadline; // Timestamp for voting deadline<br>  uint256 currentWinner; // Index of the proposal with the highest votes<br>  bool exists; // Flag to check if the election exists<br>}</pre><ul><li>The Voter struct stores the voter data, including whether they have voted, the index of the proposal they voted for, and their voting weight.</li><li>The Proposal struct stores the name of the proposal and the total number votes it has received.</li><li>The Election struct contains the data for a single election.</li></ul><p>These structures will serve as the foundation for managing the voting logic and data in our decentralized voting application.</p><p>— <strong>Global Variables</strong></p><p>Next, we’ll initiate global variables,</p><pre>Election[] public elections; // List of elections<br>address public chairperson; // Address of the chairperson</pre><p>This variable is used to store the entire election list in an array Election[] , while chairperson stores the address of the account that deployed the contract and also acts as the super admin.</p><p><strong>— Events</strong></p><pre>event ElectionCreated(uint256 electionIndex, bytes32 title); // Event when an election is created<br>event VoterAuthenticated(uint256 electionIndex, address voter, uint256 weight); // Event when a voter is authenticated<br>event VoteCast(uint256 electionIndex, address voter, uint256 proposalIndex); // Event when a vote is cast<br>event VoteUpdated(uint256 electionIndex, address voter, uint256 newProposalIndex); // Event when a vote is updated</pre><p>Think of events like “logs” that are written into a record. They do not change any data on the blockchain, but they are very important for tracking activities.</p><p>These events will log important action such as when an election created, a voter is granted voting rights, a voter casts a vote, and a voter change their vote.</p><p>In Solidity, events help external applications (like frontends or monitoring tools) listen for and react to specific contract activities.</p><p>Next we’ll create a constructor, when the contract is deployed, the address that performs the deployment will become the chairperson</p><pre>constructor() {<br>  chairperson = msg.sender<br>}</pre><p>This ensures that the deployer of the contract is assigned as the super admin who has special permissions, such as creating elections and managing voter rights.</p><p><strong>— Modifiers</strong></p><p>Modifiers can be used to change the behavior of functions in a declarative way. For example, you can use a modifier to automatically check a condition prior to executing the function.</p><p>In this case, a modifier is used to ensure that a function can only be called by authorized parties.</p><p>And this is how we do it,</p><pre>// Modifier to restrict access to the chairperson<br>modifier onlyChairperson() {<br>    require(msg.sender == chairperson, &quot;Only the chairperson can perform this action&quot;);<br>    _;<br>}<br><br>// Modifier to restrict actions to the voting period of a specific election<br>modifier onlyWhileOpen(uint256 electionIndex) {<br>    require(elections[electionIndex].exists, &quot;Election does not exist&quot;);<br>    require(block.timestamp &lt; elections[electionIndex].votingDeadline, &quot;Voting has ended&quot;);<br>    _;<br>}<br><br>// Modifier to restrict access to authorized users (voters or chairperson) for a specific election<br>modifier onlyAuthorized(uint256 electionIndex) {<br>   require(<br>        msg.sender == chairperson || elections[electionIndex].voters[msg.sender].weight &gt; 0,<br>        &quot;Not authorized&quot;<br>    );<br>    _;<br>}</pre><ul><li>onlyChairperson — checks whether the function caller is the chairperson</li><li>onlyWhileOpen — ensures that the voting is still open</li><li>onlyAuthorized — makes sure that only an eligible voter or the chairperson can access the function</li></ul><p>The modifiers help maintain the integrity and security of the smart contract by enforcing role-based access and timing restrictions.</p><p><strong>— createElection Function</strong></p><p>This function is used to create a new election with a title, a list of candidate names, and a voting duration, this function can only be called by the chairperson</p><p>Here’s the step-by-step logic:</p><ol><li>Get the index for the next election</li><li>Add a new election to the array</li><li>Store the basic election data (title, time, status)</li><li>Add all specific candidates (proposal)</li><li>Emit an event to announce that a new election has been created on the blockchain</li></ol><p>And here’s the createElection code:</p><pre>// Function to create a new election<br>function createElection(bytes32 title, bytes32[] memory proposalNames, uint256 duration) public onlyChairperson {<br>    uint256 electionIndex = elections.length;<br>    Election storage newElection = elections.push();<br>    newElection.title = title;<br>    newElection.votingDeadline = block.timestamp + duration;<br>    newElection.exists = true;<br><br>    for (uint256 i = 0; i &lt; proposalNames.length; i++) {<br>        newElection.proposals.push(Proposal({<br>            name: proposalNames[i],<br>            voteCount: 0<br>        }));<br>    }<br><br>    emit ElectionCreated(electionIndex, title);<br>}</pre><p>The title and the proposal names use the bytes32 data type. So when we input the data, we must convert it to bytes32 first to avoid errors.</p><p>Using bytes32 is a step toward optimizing gas efficiency, especially when these values are used frequently in function calls.</p><p><strong>— giveRightToVote Function</strong></p><p>This function is used by the chairperson to grant voting rights to a voter for a specific election. Here’s the flow of this function</p><ol><li>Ensure the election exists</li><li>Ensure the voter has not voted yet</li><li>Ensure the voter has not already been granted voting rights</li><li>Assign voting rights with a certain weight</li><li>Emit a log as proof on the blockchain</li></ol><p>Here’s the giveRightToVote code:</p><pre>// Function to give a voter the right to vote in a specific election<br>function giveRightToVote(uint256 electionIndex, address voter, uint256 weight) public onlyChairperson {<br>    require(elections[electionIndex].exists, &quot;Election does not exist&quot;);<br>    require(!elections[electionIndex].voters[voter].voted, &quot;The voter has already voted&quot;);<br>    require(elections[electionIndex].voters[voter].weight == 0, &quot;Voter already has the right to vote&quot;);<br><br>    elections[electionIndex].voters[voter].weight = weight; // Assign the weight<br>    emit VoterAuthenticated(electionIndex, voter, weight);<br>}</pre><p>This function ensures that only eligible voters receive voting rights, and records the action transparently on the blockchain.</p><p><strong>— vote Function</strong></p><p>This function is used by a voter to cast a vote for one of the proposals (candidates) in a specific election.</p><p>Here’s the step-by-step logic:</p><ol><li>Ensure the election is still open</li><li>Retrieve the voter’s and election’s data</li><li>Ensure the voter has voting rights, has not voted yet, and that the selected proposal is valid</li><li>Update the voter’s status</li><li>Add the vote to the chosen proposal</li><li>Check if this proposal becomes the new winner</li><li>Emit an event as a transaction log</li></ol><p>Here’s the implementation:</p><pre>// Function to cast a vote in a specific election<br>function vote(uint256 electionIndex, uint256 proposal) public onlyWhileOpen(electionIndex) {<br>    Election storage election = elections[electionIndex];<br>    Voter storage sender = election.voters[msg.sender];<br>    require(sender.weight != 0, &quot;Has no right to vote&quot;);<br>    require(!sender.voted, &quot;Already voted&quot;);<br>    require(proposal &lt; election.proposals.length, &quot;Invalid proposal index&quot;);<br><br>    sender.voted = true;<br>    sender.vote = proposal;<br>    election.proposals[proposal].voteCount += sender.weight;<br><br>    // Update the current winner if necessary<br>    if (election.proposals[proposal].voteCount &gt; election.proposals[election.currentWinner].voteCount) {<br>        election.currentWinner = proposal;<br>    }<br><br>    emit VoteCast(electionIndex, msg.sender, proposal);<br>}</pre><p>This function ensures that voting is secure, fair, and traceable, while maintaining the integrity of the election process on the blockchain.</p><p><strong>— updateVote Function</strong></p><p>This function is used by a voter who has already cast a vote to change their choice to another candidate, as long as the voting period is still active.</p><p>Here’s the logic of the function:</p><ol><li>Ensure the election is still active onlyWhileOpen</li><li>Ensure the voter has voting rights and has already voted</li><li>Subtract the vote from the previous proposal</li><li>Add the vote to the new proposal</li><li>Update the temporary winner if necessary</li><li>Emit an event as a transaction record</li></ol><p>Here’s the implementation</p><pre>// Function to update an already cast vote in a specific election<br>function updateVote(uint256 electionIndex, uint256 newProposal) public onlyWhileOpen(electionIndex) {<br>    Election storage election = elections[electionIndex];<br>    Voter storage sender = election.voters[msg.sender];<br>    require(sender.weight != 0, &quot;Has no right to vote&quot;);<br>    require(sender.voted, &quot;Haven&#39;t voted yet&quot;);<br>    require(newProposal &lt; election.proposals.length, &quot;Invalid proposal index&quot;);<br><br>    // Subtract weight from the previous proposal<br>    election.proposals[sender.vote].voteCount -= sender.weight;<br><br>    // Add weight to the new proposal<br>    sender.vote = newProposal;<br>    election.proposals[newProposal].voteCount += sender.weight;<br><br>    // Update the current winner if necessary<br>    if (election.proposals[newProposal].voteCount &gt; election.proposals[election.currentWinner].voteCount) {<br>        election.currentWinner = newProposal;<br>    }<br><br>    emit VoteUpdated(electionIndex, msg.sender, newProposal);<br>}</pre><p>This function gives voters flexibility to change their choice, while still maintaining the integrity and transparency of the voting process.</p><p><strong>— winningProposal, winningName, timeLeft Function</strong></p><ul><li>winningProposal is used to return the index of the proposal that currently has the highest number of votes in a specific election.</li><li>winningName is used to return the name of the proposal that is currently leading the election based on the vote count</li><li>timeLeft is used to provide information about the remaining time for voting in a given election</li></ul><p>Here’s how these function might look in Solidity:</p><pre>// Function to get the index of the winning proposal in a specific election<br>function winningProposal(uint256 electionIndex) public view onlyAuthorized(electionIndex) returns (uint256) {<br>    return elections[electionIndex].currentWinner;<br>}<br><br>// Function to get the name of the winning proposal in a specific election<br>function winningName(uint256 electionIndex) public view onlyAuthorized(electionIndex) returns (bytes32) {<br>   return elections[electionIndex].proposals[elections[electionIndex].currentWinner].name;<br>}<br><br>// Function to get the remaining time for voting in a specific election<br>function timeLeft(uint256 electionIndex) public view returns (uint256) {<br>    require(elections[electionIndex].exists, &quot;Election does not exist&quot;);<br>    if (block.timestamp &gt;= elections[electionIndex].votingDeadline) {<br>        return 0; // Voting has ended<br>    }<br>    return elections[electionIndex].votingDeadline - block.timestamp; // Return remaining time<br>}</pre><p>Now our smart contract code is complete, and this is how the whole code looks like:</p><pre>// SPDX-License-Identifier: MIT<br>pragma solidity &gt;=0.7.0 &lt;0.9.0;<br><br>contract MultiElectionBallot {<br>    struct Voter {<br>        bool voted; // Whether the voter has voted<br>        uint256 vote; // Index of the proposal voted for<br>        uint256 weight; // Weight of the voter&#39;s vote<br>    }<br><br>    struct Proposal {<br>        bytes32 name; // Name of the proposal<br>        uint256 voteCount; // Total votes received<br>    }<br><br>    struct Election {<br>        bytes32 title; // Title of the election<br>        Proposal[] proposals; // List of proposals<br>        mapping(address =&gt; Voter) voters; // Tracks voter data by address<br>        uint256 votingDeadline; // Timestamp for voting deadline<br>        uint256 currentWinner; // Index of the proposal with the highest votes<br>        bool exists; // Flag to check if the election exists<br>    }<br><br>    Election[] public elections; // List of elections<br>    address public chairperson; // Address of the chairperson<br><br>    event ElectionCreated(uint256 electionIndex, bytes32 title); // Event when an election is created<br>    event VoterAuthenticated(uint256 electionIndex, address voter, uint256 weight); // Event when a voter is authenticated<br>    event VoteCast(uint256 electionIndex, address voter, uint256 proposalIndex); // Event when a vote is cast<br>    event VoteUpdated(uint256 electionIndex, address voter, uint256 newProposalIndex); // Event when a vote is updated<br><br>    constructor() {<br>        chairperson = msg.sender; // The deployer becomes the chairperson<br>    }<br><br>    // Modifier to restrict access to the chairperson<br>    modifier onlyChairperson() {<br>        require(msg.sender == chairperson, &quot;Only the chairperson can perform this action&quot;);<br>        _;<br>    }<br><br>    // Modifier to restrict actions to the voting period of a specific election<br>    modifier onlyWhileOpen(uint256 electionIndex) {<br>        require(elections[electionIndex].exists, &quot;Election does not exist&quot;);<br>        require(block.timestamp &lt; elections[electionIndex].votingDeadline, &quot;Voting has ended&quot;);<br>        _;<br>    }<br><br>    // Modifier to restrict access to authorized users (voters or chairperson) for a specific election<br>    modifier onlyAuthorized(uint256 electionIndex) {<br>        require(<br>            msg.sender == chairperson || elections[electionIndex].voters[msg.sender].weight &gt; 0,<br>            &quot;Not authorized&quot;<br>        );<br>        _;<br>    }<br><br>    // Function to create a new election<br>    function createElection(bytes32 title, bytes32[] memory proposalNames, uint256 duration) public onlyChairperson {<br>        uint256 electionIndex = elections.length;<br>        Election storage newElection = elections.push();<br>        newElection.title = title;<br>        newElection.votingDeadline = block.timestamp + duration;<br>        newElection.exists = true;<br><br>        for (uint256 i = 0; i &lt; proposalNames.length; i++) {<br>            newElection.proposals.push(Proposal({<br>                name: proposalNames[i],<br>                voteCount: 0<br>            }));<br>        }<br><br>        emit ElectionCreated(electionIndex, title);<br>    }<br><br>    // Function to give a voter the right to vote in a specific election<br>    function giveRightToVote(uint256 electionIndex, address voter, uint256 weight) public onlyChairperson {<br>        require(elections[electionIndex].exists, &quot;Election does not exist&quot;);<br>        require(!elections[electionIndex].voters[voter].voted, &quot;The voter has already voted&quot;);<br>        require(elections[electionIndex].voters[voter].weight == 0, &quot;Voter already has the right to vote&quot;);<br><br>        elections[electionIndex].voters[voter].weight = weight; // Assign the weight<br>        emit VoterAuthenticated(electionIndex, voter, weight);<br>    }<br><br>    // Function to cast a vote in a specific election<br>    function vote(uint256 electionIndex, uint256 proposal) public onlyWhileOpen(electionIndex) {<br>        Election storage election = elections[electionIndex];<br>        Voter storage sender = election.voters[msg.sender];<br>        require(sender.weight != 0, &quot;Has no right to vote&quot;);<br>        require(!sender.voted, &quot;Already voted&quot;);<br>        require(proposal &lt; election.proposals.length, &quot;Invalid proposal index&quot;);<br><br>        sender.voted = true;<br>        sender.vote = proposal;<br>        election.proposals[proposal].voteCount += sender.weight;<br><br>        // Update the current winner if necessary<br>        if (election.proposals[proposal].voteCount &gt; election.proposals[election.currentWinner].voteCount) {<br>            election.currentWinner = proposal;<br>        }<br><br>        emit VoteCast(electionIndex, msg.sender, proposal);<br>    }<br><br>    // Function to update an already cast vote in a specific election<br>    function updateVote(uint256 electionIndex, uint256 newProposal) public onlyWhileOpen(electionIndex) {<br>        Election storage election = elections[electionIndex];<br>        Voter storage sender = election.voters[msg.sender];<br>        require(sender.weight != 0, &quot;Has no right to vote&quot;);<br>        require(sender.voted, &quot;Haven&#39;t voted yet&quot;);<br>        require(newProposal &lt; election.proposals.length, &quot;Invalid proposal index&quot;);<br><br>        // Subtract weight from the previous proposal<br>        election.proposals[sender.vote].voteCount -= sender.weight;<br><br>        // Add weight to the new proposal<br>        sender.vote = newProposal;<br>        election.proposals[newProposal].voteCount += sender.weight;<br><br>        // Update the current winner if necessary<br>        if (election.proposals[newProposal].voteCount &gt; election.proposals[election.currentWinner].voteCount) {<br>            election.currentWinner = newProposal;<br>        }<br><br>        emit VoteUpdated(electionIndex, msg.sender, newProposal);<br>    }<br><br>    // Function to get the index of the winning proposal in a specific election<br>    function winningProposal(uint256 electionIndex) public view onlyAuthorized(electionIndex) returns (uint256) {<br>        return elections[electionIndex].currentWinner;<br>    }<br><br>    // Function to get the name of the winning proposal in a specific election<br>    function winningName(uint256 electionIndex) public view onlyAuthorized(electionIndex) returns (bytes32) {<br>        return elections[electionIndex].proposals[elections[electionIndex].currentWinner].name;<br>    }<br><br>    // Function to get the remaining time for voting in a specific election<br>    function timeLeft(uint256 electionIndex) public view returns (uint256) {<br>        require(elections[electionIndex].exists, &quot;Election does not exist&quot;);<br>        if (block.timestamp &gt;= elections[electionIndex].votingDeadline) {<br>            return 0; // Voting has ended<br>        }<br>        return elections[electionIndex].votingDeadline - block.timestamp; // Return remaining time<br>    }<br>}</pre><p>Now what we are going to do is compile and deploy the contract using the features provided by <strong>RemixIDE.</strong></p><p>Go to compile tab, then compile the contract you’ve written earlier. Wait until a green check mark appears indicating successful compilation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*NVf_TSLQ2dhYwjfy00KIfA.png" /></figure><p>After that, go to the Deploy tab. For the environment, you can choose whether to deploy on a Virtual Machine (VM) or directly on a real network using Injected Provider (e.g., MetaMask). Then proceed to deploy the contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*TVxkUGfqKczFDKuWCqbqyQ.png" /></figure><p>Once deployed, you will see an interface like this in the “Deployed Contract”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*NPmMVBLUDg1QnFNJt2u8Kg.png" /></figure><p>Alright, I think that’s all I can share for now. This article is quite long, and this smart contract still has many limitations and can be improved further.</p><p>Next time, I might explain how to use this smart contract in local development environment using Ethers.js, Hardhat, or even Foundry. Or perhaps we’ll explore how to integrate the contract with a frontend, to make it more user-friendly and accessible for end users.</p><p>And one more thing, You can also check out my profile on <a href="https://www.upwork.com/freelancers/~018073a4b5478c637e?mp_source=share">Upwork</a> with this <a href="https://www.upwork.com/freelancers/~018073a4b5478c637e?mp_source=share">Link</a>.</p><p><em>~Thank you, and see you next time.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*vxhmn7aazfAHrSoo.png" /></figure><h4>👋 If you find this helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀<a href="http://from.faun.to/r/8zxxd">Join FAUN Developer Community &amp; Get Similar Stories in your Inbox Each Week</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efcedadea4cc" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/building-a-multi-election-ballot-smart-contract-on-the-blockchain-with-solidity-efcedadea4cc">Building a Multi-Election Ballot Smart Contract on the Blockchain with Solidity</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keras — Neural Network APIs in TensorFlow]]></title>
            <link>https://faun.pub/keras-neural-network-apis-in-tensorflow-753355dacda1?source=rss-4161607c0664------2</link>
            <guid isPermaLink="false">https://medium.com/p/753355dacda1</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[keras]]></category>
            <dc:creator><![CDATA[Saif Kholid]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 14:26:20 GMT</pubDate>
            <atom:updated>2023-12-06T18:01:56.316Z</atom:updated>
            <content:encoded><![CDATA[<h3>Keras — Neural Network APIs in TensorFlow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*b2t9tk25B700og0w_7KG9w.png" /></figure><p><a href="https://www.tensorflow.org/">TensorFlow </a>— is an <em>end-to-end open-source platform </em>developed by Google Brain Team, which is very popular for developing Machine Learning.<br>TensorFlow can be used in a wide variety of programming languages, including Python, JavaScript, Java, and C++. This flexibility lends itself to a range of applications in many different sectors.<br>Its flexible architecture allows for the easy deployment of computation across a variety of platforms (<em>CPUs, GPUs, TPUs</em>), and from desktops to clusters of servers to mobile and edge devices.</p><p>Keras — is a deep learning API written in Python, running on top of the machine learning platform <a href="https://www.tensorflow.org/">TensorFlow</a>. It was developed with a focus on enabling fast experimentation.</p><blockquote>Being able to go from idea to result as fast as possible is key to doing good research</blockquote><p>Why use Keras?</p><ul><li>Simple — but not simplistic. Keras reduces developer <em>cognitive load </em>to free you to focus on the parts of the problem that really matter</li><li>Flexible — Keras adopts the principal of <em>progressive disclosure of complexity. </em>simple workflows should be quick and easy, while arbitrarily advanced workflows should be <em>possible</em> via a clear path that builds upon what you’ve already learned.</li><li>Powerful — Keras provides industry-strength performance and scalability.</li></ul><p>The applications of Keras are vast, and we can build <em>Artificial Neural Networks </em>for image classification, natural language processing <em>(like Siri, Alexa, Google Assistant), </em>speech recognition, and time series prediction.</p><p>In this section, we will create an image classification model on the MNIST fashion dataset. The fashion MNIST dataset has 10 class labels consisting of clothes, shoes, bags, and so on. This dataset is useful for classifying a fashion object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*rwXpoqcwWNUvpa_KkgTHRw.jpeg" /><figcaption>Fashion-MNIST Dataset</figcaption></figure><p><em>Let’s code,</em></p><p>I’m using Google Colab to write the code, you can use it also with this <a href="https://colab.research.google.com/">link</a><em> </em><a href="https://colab.research.google.com/">https://colab.research.google.com</a></p><p>First, you need to import the library that will be used, here’s the code</p><pre>import tensorflow as tf<br>import numpy as np<br>import matplotlib.pyplot as plt<br>from google.colab import files #this code used for access and interact with the local system in the notebook colab<br>from PIL import Image</pre><p>Then, we need to load Fashion MNIST dataset from Keras</p><pre>mnist = tf.keras.datasets.fashion_mnist<br>(x_train, y_train), (x_test, y_test) = mnist.load_data()</pre><p>The code above was used to load the dataset and split it into two datasets, one for data training, and one for data testing</p><p>After loading the dataset, we will do data normalization by dividing the pixel value (0–255) by 255.0, so that the pixel intensity becomes between 0 and 1</p><pre>x_train, x_test = x_train/255.0, x_test/255.0</pre><p>The data is ready for testing in the model.</p><p>To create the neural network model, we use Sequential API from TensorFlow Keras, see the code below</p><pre>model = tf.keras.models.Sequential([<br>    tf.keras.layers.Flatten(input_shape=(28, 28)),<br>    tf.keras.layers.Dense(512, activation=tf.nn.relu),<br>    tf.keras.layers.Dense(10, activation=tf.nn.softmax)<br>])</pre><p>Let me explain the code one by one,</p><pre>tf.keras.layers.Flatten(input_shape=(28, 28))</pre><p>This code used to define the input layer serves to flatten the 2D input into a 1D vector. In this case, the input is an image with dimensions of 28x28 pixels.</p><pre>tf.keras.layers.Dense(512, activation=tf.nn.relu)</pre><p>This layer is a Dense layer (hidden layer) with 512 units and a ReLU (Rectified Linear Unit) activation function.<br>Each unit is connected to each element of the input vector from the previous layer.</p><pre>tf.keras.layers.Dense(10, activation=tf.nn.softmax)</pre><p>The last code is used to define the output layer, the same as the hidden layer which uses Dense, but the output layer uses a parameter to initiate the number of labels in the classification and uses a different activation.<br>In this case, we initiate that we initiate 10 labels in the classification, and use softmax activation which is used for multi-class classification.<br>For binary classification, use sigmoid for the activation in the output layer.</p><p>At this point, our model can’t do anything. For the model to learn, we need to call the compile function on our model and specify the optimizer and loss function.</p><p>For optimizer we can use the “Adam optimizer”, The Adam optimizer was chosen because it is easy to implement, more computationally efficient, and has smaller memory requirements.<br>For the loss function, we can use “sparse_categorical_entropy” for the classification that has more than 3 labels</p><p>Here’s the code,</p><pre>model.compile(optimizer = tf.optimizers.Adam(),<br>              loss = &#39;sparse_categorical_crossentropy&#39;,<br>              metrics = [&#39;accuracy&#39;])</pre><p>The last step of model building is a process called model fitting, which is process of training the model on the training data.</p><pre>history = model.fit(x_train, y_train, epochs=10, validation_split = 0.2)</pre><p>Epochs parameter is the number of times a model iterates. The model will see the entire dataset 10 times. The “validation_split” parameter is used to split data training that will be used for the data validation. In this case, 20% data training will be used for the data validation.</p><p>When you run the code, you will see the results like this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*ahbGD0TlrrQjngg1I-8C3g.png" /><figcaption>Model fitting results</figcaption></figure><p>After training the model, we will monitor the model by visualizing it using the training and validation curves. This is done to find out whether our model is a good fit, or if there is overfitting or underfitting in our model.</p><p>This is the code to create the curves,</p><pre># Plot training and validation loss<br>plt.figure(figsize=(12, 4))<br><br>plt.subplot(1, 2, 1)<br>plt.plot(history.history[&#39;loss&#39;], label=&#39;Training Loss&#39;)<br>plt.plot(history.history[&#39;val_loss&#39;], label=&#39;Validation Loss&#39;)<br>plt.title(&#39;Training and Validation Loss&#39;)<br>plt.xlabel(&#39;Epochs&#39;)<br>plt.ylabel(&#39;Loss&#39;)<br>plt.legend()<br><br># Plot training and validation accuracy<br>plt.subplot(1, 2, 2)<br>plt.plot(history.history[&#39;accuracy&#39;], label=&#39;Training Accuracy&#39;)<br>plt.plot(history.history[&#39;val_accuracy&#39;], label=&#39;Validation Accuracy&#39;)<br>plt.title(&#39;Training and Validation Accuracy&#39;)<br>plt.xlabel(&#39;Epochs&#39;)<br>plt.ylabel(&#39;Accuracy&#39;)<br>plt.legend()<br><br>plt.show()</pre><p>When you run the code, the results look like this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*9egGD6sn7nbJT6eBZijDQQ.png" /><figcaption>Training and Validation Curves</figcaption></figure><p>Look at the curve, the model we made is good enough, you can make it better by adding or removing layers in the model, or by using other optimizers such as Nadam, RMSprop, and SGD.</p><p>Use this code to upload an image for testing, and predict the class for an uploaded image</p><pre># Upload an image for testing<br>uploaded = files.upload()<br><br>for file_name in uploaded.keys():<br>    # Load the uploaded image and preprocess it<br>    img_path = file_name<br>    img = Image.open(img_path).convert(&#39;L&#39;)  # Convert to grayscale<br>    img = img.resize((28, 28))<br>    img_array = np.array(img)<br>    img_array = img_array / 255.0<br>    img_array = np.expand_dims(img_array, axis=0)<br><br>    # Make prediction<br>    predictions = model.predict(img_array)<br>    predicted_class = np.argmax(predictions)<br><br>    # Display the uploaded image and predicted class<br>    plt.imshow(img, cmap=&#39;gray&#39;)<br>    plt.title(f&#39;Predicted Class: {predicted_class}&#39;)<br>    plt.axis(&#39;off&#39;)<br>    plt.show()</pre><p>And use this sample image,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*dEIqzji0uw0jDINfn7bnIQ.png" /><figcaption>Sample Image</figcaption></figure><p>Upload this image and see the predicted class, for the class descriptions you can visit this <a href="https://keras.io/api/datasets/fashion_mnist/">link </a><a href="https://keras.io/api/datasets/fashion_mnist/">https://keras.io/api/datasets/fashion_mnist/</a></p><p>But, if you test it with other images and you don’t get the desired results, indicating that the model needs adjustments to make it better.</p><p>That’s how we use the Keras library to create a model for image classification.</p><p>Next time, we will build a model for image classification with better customization, and with a different case study.</p><p><em>~See you next time :)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0rM_F_9XoS3sP5GW.png" /></figure><h4>👋 If you find this helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀<a href="http://from.faun.to/r/8zxxd">Join FAUN Developer Community &amp; Get Similar Stories in your Inbox Each Week</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=753355dacda1" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/keras-neural-network-apis-in-tensorflow-753355dacda1">Keras — Neural Network APIs in TensorFlow</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Python — Basic Syntax Part 1]]></title>
            <link>https://faun.pub/mastering-python-basic-syntax-part-1-75c2efa9a3e7?source=rss-4161607c0664------2</link>
            <guid isPermaLink="false">https://medium.com/p/75c2efa9a3e7</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Saif Kholid]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 11:59:00 GMT</pubDate>
            <atom:updated>2022-07-15T08:11:20.907Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing Python Programming — Basic Syntax Part 1</h3><p>Python is a programming language that has a simple and easy-to-understand syntax. Python has a philosophy that program code should be easy to read,</p><p>The syntax of the python programming language is almost the same as in general programming languages, such as C, Java, or PHP.</p><p>After installing python in the previous article <a href="https://medium.com/@khoolid/mastering-python-python-installation-before-you-code-like-an-experts-c532fdb08e75"><em>—Here the article-</em></a> , now we will learn the rules of writing syntax in python,</p><p><em>“What if we don’t follow the rules?”,</em></p><p>The risk of getting an error will be greater.</p><p>Okay, let’s just look at the following explanation,</p><h3><strong>Python Statement</strong></h3><p>All commands that python can execute are called statements. A statement is an instruction or command to be executed by the computer,</p><p>In python, to print just use <strong><em>print()</em></strong><em> — If you want to print a string then you have to use quotes (‘’) or (“”), but if you want to display numbers then you can without using quotes-,</em></p><p>Type the code below in a text editor then run,</p><pre>print(&quot;Hello World!&quot;)</pre><pre>print(19)</pre><p>Then the result will be like this,</p><pre>Hello World!</pre><pre>19</pre><p>Example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/0*4mBC78_i6bYCZFq1" /><figcaption>Source: Author’s Screen shoot</figcaption></figure><p>In python we don’t need a semicolon (;) unlike C language which requires a semicolon at the end of each line of code, that’s what makes python simpler than other programming languages,</p><p>The above code will produce output like this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/0*Kavjnv02zWRETFQG" /><figcaption>Source: Author’s Screen shoot</figcaption></figure><h3>Python Comments</h3><p>Comments are code inside a python script that will not be executed by the computer. Comments are only used to mark or give written descriptions in python scripts,</p><p>To use comments, simply use the # sign, followed by the comment you want to write,</p><p>Write a comment in the python script like this,</p><pre># Write your comment here</pre><p>Example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/0*YiEXc-iYR_9tvY-f" /><figcaption>Source: Author’s Screen shoot</figcaption></figure><p>If the program is run it will be like this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/0*kKwR2orsgOsYpIZv" /><figcaption>Source: Author’s Screen shoot</figcaption></figure><p>Words after the # sign are not displayed after execution, because they are comments,</p><p>In addition to using #, we can also use 3 double quotes “”” and close it with 3 more double quotes like this,</p><pre>&quot;&quot;&quot;</pre><pre>This is your comment,</pre><pre>Write all your comments here,</pre><pre>All these lines will not be executed,</pre><pre>Because it is a comment line</pre><pre>&quot;&quot;&quot;</pre><p>Example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/0*0qyn_X-TtzP6rHS-" /><figcaption>Source: Author’s Screen shoot</figcaption></figure><p>If the program is run it will be like this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/0*rqKb2inL1fp_xes6" /><figcaption>Source: Author’s Screen shoot</figcaption></figure><p>All lines enclosed in double quotes are not executed, as is text after the # sign because they are comments.</p><p><strong><em>Thanks for reading,</em></strong></p><p><strong><em>See you in the next chapter :)</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*yui5DrWT2bYYE-qq.png" /></figure><h4>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀Developers: Learn and grow by keeping up with what matters, <a href="https://faun.to/8zxxd">JOIN FAUN.</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75c2efa9a3e7" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/mastering-python-basic-syntax-part-1-75c2efa9a3e7">Mastering Python — Basic Syntax Part 1</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Python — Python Installation Before You Code Like an Experts]]></title>
            <link>https://medium.com/@khoolid/mastering-python-python-installation-before-you-code-like-an-experts-c532fdb08e75?source=rss-4161607c0664------2</link>
            <guid isPermaLink="false">https://medium.com/p/c532fdb08e75</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Saif Kholid]]></dc:creator>
            <pubDate>Tue, 28 Jun 2022 06:15:46 GMT</pubDate>
            <atom:updated>2022-07-15T08:09:21.642Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing Python Programming — Python Installation Before You Code Like an Experts</h3><p>The previous article discussed what python is and how to use python to make money remotely. In this article we will prepare the tools needed to create a python program <em>–Lezgooo…- </em>,</p><p>Before we can use python on our devices, of course, we have to install it first, so prepare at least 10GB of free storage <em>–Haha, just kidding, the python installer file is only 25MB-</em>.</p><h4>Okaaay, let’s install together &gt;_-.</h4><p>Okay, let’s first visit the official python website at <a href="https://www.python.org/">https://www.python.org/</a> <em>–pay your internet bill first before that, lol-</em> we will see how the website looks like below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cYXGnJr4tiNfjRII" /><figcaption><a href="https://www.python.org/">https://www.python.org/</a></figcaption></figure><p>After that, we go to the download menu and select the operating system you are using, here I will show you how to install it on a Windows operating system with python version 3.10.5, you can choose the python version that you want, <em>–by the way I use Linux :v-</em>.</p><p>Okay, make sure you are finished downloading the installer file, let’s start the installation process…</p><p>First, open the installation file <em>–double click on it-</em>, and you will see a screen like this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f6Pb3aIyhJhQuCty" /><figcaption>Source : The Writer’s Friend’s Laptop</figcaption></figure><p>Then you checklist on “Add Python 3.10 to PATH”, and select Customize Installation,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TPN_EqVa6EQVpD3F" /><figcaption>Source : The Writer’s Friend’s Laptop</figcaption></figure><p>Here you leave the default, and click next,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ASqj_flFOtEYIEI0" /><figcaption>Source : The Writer’s Friend’s Laptop</figcaption></figure><p>Here you change the file location section to “C:\Python310”, why should it be changed? it doesn’t have to be changed, you can leave it by default and go to the installation step, but the reason for changing it is so that we can easily find the python folder which is in the C:\ directory, <em>–so we don’t have to dive into a sea of ​​folders to find the python folder lol -</em>, click install and wait until the installation process is complete,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hnH8VanTjmIBUs1O" /><figcaption>Source : The Writer’s Friend’s Laptop</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ou30Kh7oBqwEF6Z6" /><figcaption>Source : The Writer’s Friend’s Laptop</figcaption></figure><p>After that open CMD <em>–windows + R, type “cmd”-</em>,</p><p>Then type the command “python -v” to see the version of python as well as check whether it is installed or not,</p><p>If the python version does not appear then the previous installation process failed <em>— repeat the installation process above dude…-</em>,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BKtABoNtEsgP1a7i" /><figcaption>Source : The Writer’s Friend’s Laptop</figcaption></figure><p>Let’s try to run python in CMD,</p><p>First you type “python”, then you will enter the default python editor that runs on CMD, here you can write the syntax in python.</p><p>After entering you type the command below,</p><pre>&gt;&gt;print(&quot;Hello World&quot;)</pre><p>Then you will see the output as shown,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UULUkF1Mgnj3q2xI" /><figcaption>Source : The Writer’s Friend’s Laptop</figcaption></figure><pre>exit()</pre><p>To exit the python editor.</p><p>But don’t worry, because you are not going to write python code here because now there is a code editor that will make it easier for us to write python codes,</p><p>There are several code editors that I recommend, namely <a href="https://www.jetbrains.com/pycharm/download/#section=windows">PyCharm</a>, <a href="https://code.visualstudio.com/Download">Visual Studio Code</a> one for the future I will use the <a href="https://code.visualstudio.com/Download">Visual Studio Code</a> code editor, <em>–here I don’t explain how to install the code editor XD, because it will be too long and you will get bored reading it lol-</em>, so please click here <a href="https://www.jetbrains.com/pycharm/download/#section=windows">PyCharm</a>, <a href="https://code.visualstudio.com/Download">Visual Studio Code</a> to download it.</p><p><strong><em>See you in the next article…</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c532fdb08e75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python, The Easiest Way to Earn Money From Remote Work]]></title>
            <link>https://faun.pub/python-the-easiest-way-to-earn-money-from-remote-work-2fb3a526840?source=rss-4161607c0664------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fb3a526840</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[remote-work]]></category>
            <dc:creator><![CDATA[Saif Kholid]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 05:41:56 GMT</pubDate>
            <atom:updated>2022-06-29T07:31:00.608Z</atom:updated>
            <content:encoded><![CDATA[<p>Python is a high-level, interpreted, general-purpose programming language. Python is dynamically-typed and garbage-collected, it supports multiple programming paradigms, object-oriented and functional programming designed by Guido van Rossum. Python was first released in 1991 <em>–Python 0.9.0-</em> and then in 2000, Python 2.0 was released with new features such as Unicode support <em>–The world standard for text and emoji-</em>. Python 2 was discontinued version 2.7.18 in 2020. Python 3.10.5, the latest version released on 06 June 2022.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/0*D1jFuRZFNoTMA1kV" /><figcaption><em>The designer of Python, Guido van Rossum.</em></figcaption></figure><p>Why is python the choice for remote work? actually not only python that can be used to work remotely. But python is the easiest way to make money remotely.</p><p>For those of you who are new to programming, python is one of the easiest programming languages ​​to learn <em>— because in python we don’t need a semicolon(;), haha ​​sucks that semicolon XD-.</em></p><p>Besides being easy to learn for beginners, Python is also the most popular language in the world, don’t believe it??…<br>Look at the picture below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1iWRIzE-2XGQJ3-X" /><figcaption>The image was taken on June 20, 2022, <a href="https://pypl.github.io/PYPL.html">https://pypl.github.io/PYPL.html</a></figcaption></figure><p>Still don’t believe it huh??, let’s see on another site,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xJChDJStQRanV4DI" /><figcaption>The image was taken on June 20, 2022, <a href="https://www.tiobe.com/tiobe-index/">https://www.tiobe.com/tiobe-index/</a></figcaption></figure><p>As you can see, python always ranks in the top 3 on two different sites and has a high rating. This proves that python is the most popular language in the world.</p><p>“So, how do you get money with python?”, take it easy in this age of advanced technology we can earn money just by sitting in front of the computer -That’s good, right? lol-, let’s have a look at the remote work provider’s site, namely Upwork –<a href="https://www.upwork.com-/">https://www.upwork.com-</a> let’s visit their site and search for a job with the keyword “Python”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CdyqBUEcihGge2YD" /><figcaption>This image was taken on June 20, 2022, at 12:14 PM, <a href="https://www.upwork.com/">https://www.upwork.com</a></figcaption></figure><p>You can see, with the keyword “python” there are more than 7000 jobs that require a python programmer <em>–OMAGAAAHHH…- </em>and all of them are the latest posts on Upwork, this way you can easily make money using python, just sit back and relax in front of the computer and earn a lot of money<em> –This is a very enjoyable life goal XD-</em>.</p><p><strong><em>See you again in the next article.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*PnWlW2iK6iZ6AWhq.png" /></figure><h4>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀Developers: Learn and grow by keeping up with what matters, <a href="https://faun.to/8zxxd">JOIN FAUN.</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fb3a526840" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/python-the-easiest-way-to-earn-money-from-remote-work-2fb3a526840">Python, The Easiest Way to Earn Money From Remote Work</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>