Java2Blog
  • Home
  • Core Java
  • Tutorials
    • Spring
    • Spring Boot
    • Spring MVC
    • Java 8
    • Hibernate
  • Categories
    • Interview Questions
    • Spring Frameworks
    • Core java
    • Python
    • C++
  • NM
close
import_contacts

Java Tutorials

  • Core Java
  • Java Interview questions
  • Java 8 Stream
  • Java interview programs
import_contacts

Data structure and algorithm

  • Data structure in java
  • Data structure interview questions
import_contacts

Spring tutorials

  • Spring tutorial
  • Spring boot tutorial
  • Spring MVC tutorial
  • Spring interview questions

Author: Shubham Sayon

  • Python Python Error
    14 April

    How to check if variable exists in Python

    Introduction Objective: This article will discuss the different methods to check if a variable exists in Python. Before we dive into the methods to check for the availability of a variable in the code, let us first understand why we need to do so? 🤔 To answer the above question, you must understand “what is a NameError […]

    Read More
  • Python Python String
    13 April

    How to Format Float to 2 Decimal Places in Python?

    In this article you will learn - How to Format a Float With Two Decimal Places in Python?

    Read More
  • Python Python List Python String
    11 April

    Python Remove Newline from List

    🎯 Objective: In this article, we will discuss the methods to remove ‘\n’ or newline characters from a list. Introduction In a string, the ‘\n’ represents newline. But having them in your list can be a problem if you want to extract a given string from a list with no escape characters. This means, if […]

    Read More
  • Python Python Array Python List
    06 April

    How to Print a Matrix in Python

    In this article you will learn "How to print a matrix in Python?"

    Read More
  • Python Python Error
    04 April

    [Fixed] TypeError: ‘<' not supported between instances of 'str' and 'int'

    In this article you will learn about the causes and solutions of - TypeError: '<' not supported between instances of 'str' and 'int'

    Read More
  • Python Python String
    03 April

    Sort String Alphabetically in Python

    In this article you will learn:- How to sort a string alphabetically in Python?

    Read More
  • Python Python String
    30 March

    Python Split String by Comma

    In this article you will learn how to split a string by comma as a separator.

    Read More
  • Python Python Error Math Domain Error python ValueError
    27 March

    [Solved] ValueError: Math Domain error in Python

    Introduction So, you sit down, grab a cup of coffee and start programming in Python. Then out of nowhere, this stupid python error shows up: ValueError: math domain error. 😞 Sometimes it may seem annoying, but once you take time to understand what Math domain error actually is, you will solve the problem without any […]

    Read More
  • Python Python Error
    27 March

    [‘Fixed’] TypeError: ‘int’ object is not callable

    Summary: TypeError: ‘xyz’ object is not callable is usually raised when you try to call a method with the same name as a variable in the code. To avoid this error, rename the variable and avoid using variables with names like built-in methods in Python. Have you come across TypeErrors as: If the above errors […]

    Read More
  • 1
  • 2
  • 3
  • Nextkeyboard_arrow_right

Newsletter


Let’s be Friends

  • Facebook
  • Twitter
  • LinkedIn

© 2020-22 Java2Blog Privacy Policy