Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
C++
4.3K+ articles
Python Programs
4.0K+ articles
C Language
1.8K+ articles
School Programming
1.5K+ articles
Programming Language
594+ articles
Basic Coding Problems
371+ articles
pattern-printing
171+ articles
Python Pattern-printing
313+ posts
Recent Articles
Popular Articles
Python | Print an Inverted Star Pattern
Last Updated: 24 August 2023
An inverted star pattern involves printing a series of lines, each consisting of stars (*) that are arranged in a decreasing order. Here we are going to print inverted sta...
read more
Python
Python Programs
DSA
Basic Coding Problems
pattern-printing
Python Pattern-printing
Print with your own font using Python !!
Last Updated: 22 August 2023
Programming's core function is printing text, but have you ever wished to give it a unique look by utilizing your own custom fonts? Python enables you to use imagination a...
read more
C/C++ Puzzles
Python
Python Programs
School Programming
pattern-printing
Python Pattern-printing
Python Program to print digit pattern
Last Updated: 13 March 2023
The program must accept an integer N as the input. The program must print the desired pattern as shown in the example input/ output. Examples:Input : 41325 Output : |**** ...
read more
Technical Scripter
Python
Python Programs
School Programming
DSA
pattern-printing
Python Pattern-printing
Python program to right rotate n-numbers by 1
Last Updated: 07 February 2023
Given a number n. The task is to print n-integers n-times (starting from 1) and right rotate the integers by after each iteration.Examples:Input: 6Output :1 2 3 4 5 62 3 4...
read more
Python
Python Programs
pattern-printing
Python Pattern-printing
Python Program to print a number diamond of any given size N in Rangoli Style
Last Updated: 31 December 2020
Given an integer N, the task is to print a number diamond of size N in rangoli style where N means till Nth number from number ‘1’.Examples:Input : 2Output :--2--2-1-2--2-...
read more
Python
Python Programs
Write From Home
pattern-printing
Python Pattern-printing
Program to print half Diamond star pattern
Last Updated: 13 March 2023
Given an integer N, the task is to print half-diamond-star pattern.************************************Examples:Input: N = 3Output:*********Input: N = 6Output:************...
read more
Java
Python
Programming Language
C Language
C++
School Programming
C#
DSA
pattern-printing
Python Pattern-printing
Program to print window pattern
Last Updated: 13 September 2022
Print the pattern in which there is a hollow square and plus sign inside it. The pattern will be as per the n i.e. number of rows given as shown in the example.Examples:In...
read more
Python
Python Programs
pattern-printing
school-programming
Python Pattern-printing
Program to Print K using Alphabets
Last Updated: 09 August 2022
Given a number n, the task is to print 'K' using alphabets.Examples:Input: n = 5Output: A B C D E F A B C D E A B C D A B C A B A A A B A B C A B C D A B C D E A B C D E F...
read more
Python
pattern-printing
school-programming
Python Pattern-printing
Python Program to print hollow half diamond hash pattern
Last Updated: 22 April 2023
Give an integer N and the task is to print hollow half diamond pattern. Examples:Input : 6Output :# # # # # # # # # # # # # # # # # # # # I...
read more
Python
Programming Language
Python Programs
pattern-printing
Python Pattern-printing
Python program to print the Inverted heart pattern
Last Updated: 05 August 2022
Let us see how to print an inverted heart pattern in Python.Example:Input: 11Output: * *** ***** ******* ********* *********** **...
read more
Python
Python Programs
pattern-printing
Python Pattern-printing
Python program to print Pascal's Triangle
Last Updated: 02 August 2024
Pascal's triangle is a pattern of the triangle which is based on nCr, below is the pictorial representation of Pascal's triangle.Example:Input: N = 5Output: 1 1 1...
read more
Technical Scripter
Python
Python Programs
Technical Scripter 2020
pattern-printing
Python Pattern-printing
Python program to display half diamond pattern of numbers with star border
Last Updated: 21 March 2023
Given a number n, the task is to write a Python program to print a half-diamond pattern of numbers with a star border.Examples:Input: n = 5Output:**1**121**12321**1234321*...
read more
Python
Python Programs
Python Pattern-printing
Python - Print Heart Pattern
Last Updated: 05 August 2022
Given an even integer input, the task is to write a Python program to print a heart using loops and mathematical formulations.Example :For n = 8 * * * * * *...
read more
Python
Python Programs
Python Pattern-printing
Simple Diamond Pattern in Python
Last Updated: 29 May 2021
Given an integer n, the task is to write a python program to print diamond using loops and mathematical formulations. The minimum value of n should be greater than 4.Examp...
read more
Python
DSA
Python Pattern-printing
Alphabet Pattern Programs in Python
Last Updated: 03 May 2025
Pattern programs help improve logic and problem-solving in coding. Using Python loops and the ASCII system, we can print alphabet-based patterns like triangles, pyramids a...
read more
Python
Python Programs
Picked
Geeks Premier League
Python Pattern-printing
Geeks Premier League 2023
1
2
3
4
...
21
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !