How to print spaces in Python3? Last Updated : 01 Aug, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article, we will learn about how to print space or multiple spaces in the Python programming language. Spacing in Python language is quite simple than other programming language. In C languages, to print 10 spaces a loop is used while in python no loop is used to print number of spaces. Following are the example of the print spaces: Example 1: A simple way to print spaces Python3 # Python program to print spaces # No spaces print("GeeksForGeeks") # To print the blank lines print(' ') # Also print the blanks print(" ") # To print the spaces in sentence print("Geeks For Geeks") Output: GeeksForGeeks Geeks For Geeks Example 2: Printing spaces between two values while printing in a single print statement. Python3 # Python program to print spaces x = 1 y = 2 # use of "," symbol print("x:",x) print("y:",y) print(x,"+",y,"=",x+y) Output: x: 1 y: 2 1 + 2 = 3 Example 3: Print multiple spaces between two values. Python3 # Python program to print spaces # To print the single spaces in sentence print("Geeks"+" "+"For"+" "+"Geeks") print("Geeks","For","Geeks") # to print spaces by given times print("Geeks"+" "*3+"For"+" "*3+"Geeks") print("Geeks"+" "*5+"For"+" "*10+"Geeks") Output: Geeks For Geeks Geeks For Geeks Geeks For Geeks Geeks For Geeks Comment More infoAdvertise with us Next Article How To Print A Variable's Name In Python S SHUBHAMSINGH10 Follow Improve Article Tags : Python python-basics python-io Practice Tags : pythonpython-io Similar Reads How To Print A Variable's Name In Python In Python, printing a variable's name can be a useful debugging technique or a way to enhance code readability. While the language itself does not provide a built-in method to directly obtain a variable's name, there are several creative ways to achieve this. In this article, we'll explore five simp 3 min read How to Print String and Int in the Same Line in Python Printing both texts and integers on the same line is a common chore for programmers. Python, fortunately, has various methods for accomplishing this, making it simple to display a combination of text and numerical values in your output. In this article, we'll explore various ways to print strings an 2 min read How To Print Unicode Character In Python? Unicode characters play a crucial role in handling diverse text and symbols in Python programming. This article will guide you through the process of printing Unicode characters in Python, showcasing five simple and effective methods to enhance your ability to work with a wide range of characters Pr 2 min read Convert integer to string in Python In this article, weâll explore different methods for converting an integer to a string in Python. The most straightforward approach is using the str() function.Using str() Functionstr() function is the simplest and most commonly used method to convert an integer to a string.Pythonn = 42 s = str(n) p 2 min read Python | sep parameter in print() The separator between the arguments to print() function in Python is space by default (softspace feature) , which can be modified and can be made to any character, integer or string as per our choice. The 'sep' parameter is used to achieve the same, it is found only in python 3.x or later. It is als 3 min read Add padding to a string in Python Padding a string involves adding extra characters such as spaces or specific symbols to adjust its length or align it in a visually appealing way. Letâs dive into the most efficient methods to add padding to a string in Python.Using Python f-stringsF-strings allow us to specify padding directly with 2 min read Like