Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.8K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Python Programs
3.7K+ articles
python
1.2K+ articles
Basic Coding Problems
372+ articles
Programming Language
336+ articles
school-programming
240+ articles
pattern-printing
174+ articles
Python Pattern-printing
17 posts
Recent Articles
Alphabet Pattern Programs in Python
Last Updated: 23 July 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
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
Python Pattern-printing
Print Heart Pattern - Python
Last Updated: 12 January 2026
Given an even integer n, the task is to print a heart-shaped pattern using stars (*) and simple loop logic in Python. For Example:For n = 8, the output is: * * * * ...
read more
Python
Python Programs
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 program to print Pascal's Triangle
Last Updated: 01 October 2026
Pascal's Triangle is a triangular arrangement of numbers where the first and last values of every row are 1, while each inner value is obtained by adding the two values di...
read more
Technical Scripter
Python
Python Programs
Technical Scripter 2020
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
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
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 half Diamond star pattern
Last Updated: 27 October 2026
Given an integer n, the task is to print half-diamond-star pattern.Examples:Input: n = 3Output:*********Input: n = 6Output:************************************Nested Loops...
read more
DSA
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
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 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
Python
pattern-printing
Python Pattern-printing
Print with your own font using Python
Last Updated: 18 November 2025
Given a word or name, the task is to print it in a custom-designed font using Python. Each character of the input is mapped to a pattern made of symbols, allowing you to p...
read more
Python
pattern-printing
Python Pattern-printing
Python | Print an Inverted Star Pattern
Last Updated: 04 November 2025
Given a number n, the task is to print an inverted star pattern where each row prints stars (*) in decreasing order. The pattern starts with n stars in the first row and r...
read more
Python
Basic Coding Problems
pattern-printing
Python Pattern-printing
1
2
✕