How to Sell Coupons on ETH? A Sample Solidity dApp with React and Truffle (1/4)

How to Sell Coupons on ETH? Creating your own sample dApp in four parts: Blockchain has bagged decent accolades recently for its transparency of the transactions made throughout the supply chain. By taking inspiration from that, we decided to make an imaginary Web3 dapp for the finxter academy. πŸ›‘ Note: This is just a training … Read more

Python | Split String then Join

Summary: Use one of the following ways to split a string to get an element from a string: Minimal Example Problem Formulation Example Challenge: Extract certain substrings from the given string and then combine the extracted substrings with a “/” in between to create a new string. Thus, you first have to split the string … Read more

The Ultimate Guide to Bivariate Analysis with Python

This article will review some of the critical techniques used in Exploratory Data Analysis, specifically for Bivariate Analysis. We will review some of the essential concepts, understand some of the math behind correlation coefficients and provide sufficient examples in Python for a well-rounded, comprehensive understanding. What is Bivariate Analysis? Exploratory Data Analysis, or EDA, is … Read more

Python | Split String and Keep Whitespace

⭐Summary: To split a string and keep the delimiters/separators, you can use one of the following methods: (i) Using the regex package and its functions. (ii) Using a list comprehension. Minimal Example Problem Formulation Problem: Given a string in Python. How to split the string and also keep the spaces? Example Consider that there’s a … Read more

Python | Split String when Character Changes

⭐Summary: Use groupby() function from the itertools module to split a string whenever a character changes. Another way to do this is to use the zip function and manipulate the result using a list comprehension. Minimal Example Problem Formulation Problem: Given a string; How will you split the string when the character changes? Example Consider … Read more

Solidity Omitted Function Parameter Names

Expressions and Control Structures in Solidity Smart Contracts In this article, we’ll talk about omitted function parameter names, i.e. what they are, when and why we should use them, and how they make our programming life more interesting. It’s part of our long-standing tradition to make this (and other) articles a faithful companion, or a … Read more

Python | Split String into Variables

πŸš€Summary: Split the given string using the split() function and then unpack the items of the list returned by the split method into different variables. Minimal Example Problem Formulation πŸ“Problem: Given a string. How will you split the string and then store the split strings into different variables? Example 1 In the above problem, the … Read more

Solidity Remix IDE Quickstart

Solidity is one of the most popular languages for writing smart contracts on the Ethereum network. You can code Solidity online using the Remix IDE. This article will show you how! πŸ‘‡  Quick Intro to Remix Remix is a free web-based integrated development environment (IDE) for developing Ethereum smart contracts. Remix allows developers to use … Read more