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

Python String

  • 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 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
  • typeerror: can't multiply sequence by non-int of type 'float'
    Python Python Error Python String
    27 February

    [Solved] TypeError: Can’t Multiply Sequence by non-int of Type ‘float’ In Python?

    Learn about how to fix TypeError: Can’t Multiply Sequence by non-int of Type ‘float’ In Python?

    Read More
  • TypeError: List Indices Must Be Integers Or Slices, Not 'Str'
    Python Python Error Python List Python String
    27 February

    [Solved] TypeError: List Indices Must Be Integers Or Slices, Not ‘Str’?

    Learn how to fix TypeError: List Indices Must Be Integers Or Slices, Not 'Str' in this article.

    Read More
  • Python Python String
    21 April

    Python Print without Newline

    In this post, we will see how to print without Newline in Python. In python, when you use two print statements consecutively, it will print in different line. [crayon-681f58ca4eb43804191142/] Output: Hello world from Java2blog As expected, we got Hello world and from Java2blog If you want to print these two print statements in the same […]

    Read More
  • Python Python String
    23 March

    Python String to bytes

    In this post, we will see how to convert String to bytes in Python. There are two ways to convert String to bytes in Python. Using bytes() constructor You can use bytes() constructor to convert String to bytes in Python. You need to pass string and encoding as argument. Here is an example: [crayon-681f58ca4ef62656423627/] Output: […]

    Read More
  • keyboard_arrow_left Previous
  • 1
  • …
  • 4
  • 5
  • 6

Newsletter


Let’s be Friends

  • Facebook
  • Twitter
  • LinkedIn

© 2020-22 Java2Blog Privacy Policy