Author: Arpit Mandliya
- 08 January
CharAt in Python
In this tutorial, we will see about CharAt in Python. If you are already well verse in java and might be looking for charAt() alternative in Python, then you are at right place. In Python, you can get character of String similar to the way you access array elements in java. Here is simple code […]
- 07 January
How to compare lists in Python
In this post, we will see how to compare lists in Python. Python compare lists Lists in Python are mutable and can store a finite number of elements. We cannot determine whether a list is greater or less than any other list based on general criteria. So when we talk about comparing lists, we mean […]
- 17 December
Generate float range in Python [9 ways]
There are sometimes when you need to generate a range of floating-point numbers, for making various codes easier to implement and execute. Here, the focus is on generating a range of floating-point numbers. This tutorial demonstrates the several methods available to generate a range of float-point numbers. What is a floating-point number in Python? A […]
- 17 December
Python array size: get size of array in Python
In this article, we will see how to get size of array in Python. Python array size An array stores a collection of similar elements in a contiguous memory location. In Python, we have a list, an iterable, and a numpy array to work as arrays. We can perform various operations on arrays. The array […]
- 11 December
Convert String to Array in Java
When developing applications in Java there are many cases where we will find ourselves converting data from one type to the other. Developers must understand how this is done because it will enhance their system effectiveness leading to ease of use from different users interacting with the system. How to convert String to Array in […]
- 08 December
Escape quotes in Javascript
In this article, we will see how to escape quotes in Javascript. Let’s see what happens if we have singe quote in String and we also use single quotes to declare the string in javascript. [crayon-678c013d1b1ff427475695/] Output: unknown: Unexpected token (1:26) Ways to escape quotes in Javascript There are multiple ways to escape quotes in […]
- 06 December
How to Capitalize first letter in Javascript
In this tutorial, we will see how to Capitalize first letter in Javascript. Capitalize first letter of String in Javascript There are multiple ways to Capitalize first letter of String in Javascript. Let’s go through each of them. Using charAt(), toUpperCase() and slice() We will combination of charAt(), toUpperCase() and slice() functions to capitalize first […]
- 05 December
Add character to String in Javascript
In this post, we will see how to add character to String in Javascript. There are multiple ways to add character to String in Javascript. Let’s go through them one by one. Add character to String at start of String in Javascript Using + operator You can simply use + operator to add character to […]
- 17 November
How to check for null in Python
This article demonstrates the different ways available to check if a variable is NULL in Python. What is the NULL keyword? The NULL keyword is a fundamental part of programming. Being used in all popular programming languages like C, C++, or Java, it can essentially be represented as a pointer that points to nothing, or […]