12 Write a python program with a screenshot output in google collab by taking input from the
keyboard
Write a program that reads an input n from stdin. n tells us the number of rows to be printed. Print
the pattern as per the given examples.
Input format: The first line contains the number of inputs. The lines after that contain a different
value for n
Note: You must write the entire program and not just the single method! Make sure your class
name is Main
Example Input:
2
3
5
Output:
A
BB
CCC
A
BB
CCC
DDDD
EEEEE

12 Write a python program with a screenshot output in google.pdf

  • 1.
    12 Write apython program with a screenshot output in google collab by taking input from the keyboard Write a program that reads an input n from stdin. n tells us the number of rows to be printed. Print the pattern as per the given examples. Input format: The first line contains the number of inputs. The lines after that contain a different value for n Note: You must write the entire program and not just the single method! Make sure your class name is Main Example Input: 2 3 5 Output: A BB CCC A BB CCC DDDD EEEEE