Computer Science, asked by sonydey055, 3 days ago

Given an integer N, print the corresponding pattern for N.

For example if N = 4 then pattern will be like:

A
B B
C C C
D D D D

Answers

Answered by ranjithanimai73
0

Answer:

This program prints (generates) a-bb-ccc-dddd pattern up to n lines given by user in Python programming language. In this program %c is used for displaying corresponding ASCII character of a number. For example to display ASCII character corresponding to 65; print("%c" %(65)) which gives A as output

Explanation:

please mark me brilliant

Similar questions