1.

Write a python program to print thegiven pattern:ΑΑΑBBС C​

Answer»

ANSWER:

Patterns can be printed in python using simple for loops. First outer loop is used to handle NUMBER of rows and INNER NESTED loop is used to handle the number of columns. Manipulating the print statements, different number patterns, alphabet patterns or STAR patterns can be printed.  

Some of the Patterns are shown in this article.

Explanation:



Discussion

No Comment Found

Related InterviewSolutions