Posts for Code examples

This section provides you small and well-documented Code examples for Beginners, Clear Your basic Concepts using this section

How to compare strings in Python

In this article, you are going to learn about how to compare strings in Python. In general, a string is nothing but a sequence of multiple characters. In the Python programming language, strings are an array of bytes that represent Unicode characters. In the journey of development, we often need to work with strings and […]

February 1, 2022 in Code examples & Python

How to format dates in ReactJS

In this article, you are going to learn about how to format dates in ReactJS. ReactJS is a JavaScript library that is used in the front-end to better the UI experience. With react you can do many interesting things. The most interesting part is that you can write JavaScript code here easily. You already know […]

January 30, 2022 in Code examples & React

How to use tuple in Golang

In this article, you are going to learn about how to use tuples in the Go language. In general, a sequence of finite ordered elements is considered as a tuple and in programming languages, a tuple means pair or an ordered set of values. Depending on the rules of particular programming languages, the values of […]

January 25, 2022 in Code examples & GoLang

What is the difference between block and Inline-block elements?

In this article, you will learn about what is the difference between block and inline-block elements. Block and inline-block elements are two categories of HTML(Hypertext Markup Language). These elements have different use-cases and also have different nature. In this article, we will demonstrate what block and inline-block elements are and the basic differences between them. […]

January 24, 2022 in Code examples