• Loop through String in Python
    28 October

    Loop through String in Python

    In this article, we will see how to loop through String in Python. Iteration or looping means executing a set of statements till a given condition is met. In Python, we can loop over data structures to access their elements. A string is like an array of characters. We can loop through a string and […]

  • Get random boolean in Python
    28 October

    Get random boolean in Python

    What are Boolean Values? Python has a built-in data type Boolean that represents True and False values. It has only these two values. We can also consider True and False as 1 and 0, respectively. If we convert 0 or 1 to Boolean, then we get True or False only. This tutorial will demonstrate how […]

  • How to comment out multiple lines in python
    16 October

    How to comment out multiple lines in python

    In this article, we will see about how to comment out multiple lines in python. The concept of comments is present in most programming languages. We use comments for documentation purposes. The compiler ignores them, but the user can use comments to describe what is happening in the code. As the code grows longer and […]

  • Get variable name as String in Python
    01 October

    How to get variable name as String in Python

    In Python, there are several ways to convert a string to a variable name, but the reverse process is not exactly utilized so often in the programming world. This article focuses on how to get a variable name as a string in Python. What are variable names in Python? The term variable can be defined […]

  • 16 October

    Java AES Encryption Decryption Example

    Introduction AES stands for advanced encryption standard and is the most commonly used symmetric algorithm to encrypt sensitive data and can be used in both software and hardware. The AES algorithm is symmetric, meaning that it uses only one key for encryption and decryption, and due to this reason, the key must be shared between […]

  • Python add commas to number
    11 September

    Python add commas to number

    Python allows us to format values to get the final result in our desired look. This article will discuss how we can format numbers in Python and add commas to them. In this tutorial, all the methods discussed will use the commas as thousand separators. Using the format() function to add commas to numbers in […]

  • 11 September

    RSA Encryption and Decryption in Java

    Introduction RSA is a short form for Rivest, Shamir, and Adleman, are the people who first publicly described it in 1977. It is an algorithm for asymmetric cryptography which involves the use of two keys. A public key, which can be known to anybody and can be used to encrypt messages, and verify signatures. A […]

  • 10 September

    How to remove element from Arraylist in java while iterating

    Introduction In this tutorial, you will learn how to remove element from Arraylist in java while iterating using different implementations provided by Java. It is necessary to understand the right way to remove items from a List because we might encounter errors in our programs if not done correctly. For example, If we try to […]

  • 17 October

    Java AES 256 Encryption Decryption Example

    Introduction Advanced encryption standard (AES) is the most secure encryption standard compared to RSA, which is vulnerable to brute force attacks. This is the main reason that AES was established by the National Institute of Standard and Technology (NIST) in 2001 and is used worldwide to date. In the previous post, we have seen how […]