Hindi, asked by shahnashahnawaz15, 5 months ago

Write a python program for
1 1 1 1 1
0 0 0 0
1 1 1
0 0
1​

Answers

Answered by as7798565gmailcom
2

Explanation:

In this article, I show you how to Print pattern in Python. Following Python programs uses for loop, while loop, and range() function to display various patterns. In this article, We will cover the following Python pattern programs:

Number Pattern

Triangle Pattern with Number

Star (*) or Asterisk Pattern

Pyramid pattern

Inverted pyramid pattern

Half pyramid pattern

Diamond Shaped Pattern

Characters or Alphabets Pattern

Square pattern

Print Pattern in Python

Print Pattern in Python

As of now, this article contains 30+ pattern programs. If you don’t find the pattern you are looking for, let me know by leaving a comment below I will try to provide a solution. Using the pattern programs, you can build a solid understanding of loops in Python.

Similar questions