• Generate random number between 0 and 1 in Python
    15 July

    Generate random number between 0 and 1 in Python

    Generating Random numbers is easily achievable in Python, as Python provides the Random module that contains some functions that can be used to generate random numbers as per the programmer’s needs. A Random number does not generate a different number every time we run the code, but it generates a value that cannot be predicted. […]

  • Get current year in java
    13 July

    Get current year in Java

    In this post, we will see how to get current year in Java. Using Date and SimpleDateFormat The Date class was introduced in Java 1.0 and provided different approaches to work with time. The SimpleDateFormat inherits from DateFormat and is mainly used to parse a date to text. You can provide your custom pattern to […]

  • 13 July

    Remove substring from String in Java

    In this post, we will see how to remove substring from String in java. There are multiple ways to remove substring from String in java. Using String’s replace method to remove substring from String in Java This method belongs to the Java String class and is overloaded to provide two different implementations of the same […]

  • 13 July

    Einthusan Alternatives : 16 Best websites like Enthusan in 2021

    Einthusan is a well-known platform for watching movies online. From streaming in different languages to downloading them for online viewing, the platform offered everything that movie lovers wish for. Talking about different languages, Einthusan has been home to movies in Bengali, Hindi, Malayalam, Kannada, Tamil, and Telugu. The website provided individuals with a way to […]

  • Copy DataFrame in Python
    10 July

    Copy DataFrame in Pandas

    This articles provide different ways to copy DataFrame in Pandas.

  • Print LinkedList in java
    26 June

    Print LinkedList in java

    Java inbuilt LinkedList Java inbuilt LinkedList class uses doubly linked list as internal data structure to store its elements. It is subclass of AbstractList and implements List and Deque interfaces. Insertion and deletion of elements is faster than ArrayList as it interally uses double LinkedList. Print LinkedList using a for loop The most common method […]

  • Print HashMap in java
    30 June

    Print HashMap in Java

    In this article, we will see how to print HashMap in java using different method. Print from the HashMap Reference This is the most basic and easiest method to print out HashMap in java. Pass the HashMap reference to the System.out.println, and the HashMap will output the key-value of the elements enclosed in curly brackets. […]

  • Enum to String in C++
    19 July

    Convert enum to string in C++

    There are a variety of methods to convert enum to String in C++. In this article, we will discuss some of the efficient and easy ways to convert enum to string. enum is a user-defined data type that contains integral constants. We use the keyword ‘enum’ to define it. Example: [crayon-60f8bb6e37dc7930170897/] Here the name of […]

  • Java String contains IgnoreCase
    23 June

    Java String contains IgnoreCase

    We often have to check if a string contains a substring or not in a case-insensitive manner. There are multiple ways to do so. In this article, we will take a look at these methods for java String contains IgnoreCase checks. Next, we will look at each method in detail. Using String.toLowerCase() One of the […]