SlideShare a Scribd company logo
1 of 1
Download to read offline
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

More Related Content

More from aarushfootwear

The world population now in 2021 is about 79 billion peop.pdf
The world population now in 2021 is about 79 billion peop.pdfThe world population now in 2021 is about 79 billion peop.pdf
The world population now in 2021 is about 79 billion peop.pdfaarushfootwear
 
The Proposed Merger of Comcast and Time Warner Cable In Febr.pdf
The Proposed Merger of Comcast and Time Warner Cable In Febr.pdfThe Proposed Merger of Comcast and Time Warner Cable In Febr.pdf
The Proposed Merger of Comcast and Time Warner Cable In Febr.pdfaarushfootwear
 
The following table lists the current average Social Securit.pdf
The following table lists the current average Social Securit.pdfThe following table lists the current average Social Securit.pdf
The following table lists the current average Social Securit.pdfaarushfootwear
 
Suppose the work on ObjectOriented Design starts with the .pdf
Suppose the work on ObjectOriented Design starts with the .pdfSuppose the work on ObjectOriented Design starts with the .pdf
Suppose the work on ObjectOriented Design starts with the .pdfaarushfootwear
 
Exercise 29 Algo Recording materials labor and overhead.pdf
Exercise 29 Algo Recording materials labor and overhead.pdfExercise 29 Algo Recording materials labor and overhead.pdf
Exercise 29 Algo Recording materials labor and overhead.pdfaarushfootwear
 
Suppose that the following instructions are found at the giv.pdf
Suppose that the following instructions are found at the giv.pdfSuppose that the following instructions are found at the giv.pdf
Suppose that the following instructions are found at the giv.pdfaarushfootwear
 
Sorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdf
Sorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdfSorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdf
Sorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdfaarushfootwear
 
research a busy week at an arena in the major city closest t.pdf
research a busy week at an arena in the major city closest t.pdfresearch a busy week at an arena in the major city closest t.pdf
research a busy week at an arena in the major city closest t.pdfaarushfootwear
 
rn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdf
rn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdfrn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdf
rn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdfaarushfootwear
 
Please help Topic Tobacco used It is expected that the Outl.pdf
Please help Topic Tobacco used It is expected that the Outl.pdfPlease help Topic Tobacco used It is expected that the Outl.pdf
Please help Topic Tobacco used It is expected that the Outl.pdfaarushfootwear
 
Problem Lets discuss the role of the CIO as customer advoc.pdf
Problem Lets discuss the role of the CIO as customer advoc.pdfProblem Lets discuss the role of the CIO as customer advoc.pdf
Problem Lets discuss the role of the CIO as customer advoc.pdfaarushfootwear
 
por favor necesito una respuesta nica use sus propias pal.pdf
por favor necesito una respuesta nica use sus propias pal.pdfpor favor necesito una respuesta nica use sus propias pal.pdf
por favor necesito una respuesta nica use sus propias pal.pdfaarushfootwear
 
public boolean FUNint Aint s int howmany .pdf
public boolean FUNint Aint s int howmany             .pdfpublic boolean FUNint Aint s int howmany             .pdf
public boolean FUNint Aint s int howmany .pdfaarushfootwear
 
NACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdf
NACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdfNACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdf
NACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdfaarushfootwear
 
PREGUNTA 11 Cul de los siguientes es ms probable que gen.pdf
PREGUNTA 11  Cul de los siguientes es ms probable que gen.pdfPREGUNTA 11  Cul de los siguientes es ms probable que gen.pdf
PREGUNTA 11 Cul de los siguientes es ms probable que gen.pdfaarushfootwear
 
Describe in your own words an EDI fallout report Discuss wh.pdf
Describe in your own words an EDI fallout report Discuss wh.pdfDescribe in your own words an EDI fallout report Discuss wh.pdf
Describe in your own words an EDI fallout report Discuss wh.pdfaarushfootwear
 
Marketers working in the public interest focus on getting th.pdf
Marketers working in the public interest focus on getting th.pdfMarketers working in the public interest focus on getting th.pdf
Marketers working in the public interest focus on getting th.pdfaarushfootwear
 
Dos de los miembros de su equipo Cynthia y Shelly nunca pa.pdf
Dos de los miembros de su equipo Cynthia y Shelly nunca pa.pdfDos de los miembros de su equipo Cynthia y Shelly nunca pa.pdf
Dos de los miembros de su equipo Cynthia y Shelly nunca pa.pdfaarushfootwear
 
La compensacin bsica en el proceso de inversin es entre .pdf
La compensacin bsica en el proceso de inversin es  entre .pdfLa compensacin bsica en el proceso de inversin es  entre .pdf
La compensacin bsica en el proceso de inversin es entre .pdfaarushfootwear
 
INDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdf
INDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdfINDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdf
INDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdfaarushfootwear
 

More from aarushfootwear (20)

The world population now in 2021 is about 79 billion peop.pdf
The world population now in 2021 is about 79 billion peop.pdfThe world population now in 2021 is about 79 billion peop.pdf
The world population now in 2021 is about 79 billion peop.pdf
 
The Proposed Merger of Comcast and Time Warner Cable In Febr.pdf
The Proposed Merger of Comcast and Time Warner Cable In Febr.pdfThe Proposed Merger of Comcast and Time Warner Cable In Febr.pdf
The Proposed Merger of Comcast and Time Warner Cable In Febr.pdf
 
The following table lists the current average Social Securit.pdf
The following table lists the current average Social Securit.pdfThe following table lists the current average Social Securit.pdf
The following table lists the current average Social Securit.pdf
 
Suppose the work on ObjectOriented Design starts with the .pdf
Suppose the work on ObjectOriented Design starts with the .pdfSuppose the work on ObjectOriented Design starts with the .pdf
Suppose the work on ObjectOriented Design starts with the .pdf
 
Exercise 29 Algo Recording materials labor and overhead.pdf
Exercise 29 Algo Recording materials labor and overhead.pdfExercise 29 Algo Recording materials labor and overhead.pdf
Exercise 29 Algo Recording materials labor and overhead.pdf
 
Suppose that the following instructions are found at the giv.pdf
Suppose that the following instructions are found at the giv.pdfSuppose that the following instructions are found at the giv.pdf
Suppose that the following instructions are found at the giv.pdf
 
Sorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdf
Sorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdfSorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdf
Sorumlu ekoturizmde lider olan Lindblad Expeditionsn Galapa.pdf
 
research a busy week at an arena in the major city closest t.pdf
research a busy week at an arena in the major city closest t.pdfresearch a busy week at an arena in the major city closest t.pdf
research a busy week at an arena in the major city closest t.pdf
 
rn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdf
rn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdfrn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdf
rn pazarna hakim bir firmann eitim faaliyetlerinin aratrma.pdf
 
Please help Topic Tobacco used It is expected that the Outl.pdf
Please help Topic Tobacco used It is expected that the Outl.pdfPlease help Topic Tobacco used It is expected that the Outl.pdf
Please help Topic Tobacco used It is expected that the Outl.pdf
 
Problem Lets discuss the role of the CIO as customer advoc.pdf
Problem Lets discuss the role of the CIO as customer advoc.pdfProblem Lets discuss the role of the CIO as customer advoc.pdf
Problem Lets discuss the role of the CIO as customer advoc.pdf
 
por favor necesito una respuesta nica use sus propias pal.pdf
por favor necesito una respuesta nica use sus propias pal.pdfpor favor necesito una respuesta nica use sus propias pal.pdf
por favor necesito una respuesta nica use sus propias pal.pdf
 
public boolean FUNint Aint s int howmany .pdf
public boolean FUNint Aint s int howmany             .pdfpublic boolean FUNint Aint s int howmany             .pdf
public boolean FUNint Aint s int howmany .pdf
 
NACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdf
NACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdfNACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdf
NACEnin Nisan 2014 Maa Aratrmasna gre mhendislik blmler.pdf
 
PREGUNTA 11 Cul de los siguientes es ms probable que gen.pdf
PREGUNTA 11  Cul de los siguientes es ms probable que gen.pdfPREGUNTA 11  Cul de los siguientes es ms probable que gen.pdf
PREGUNTA 11 Cul de los siguientes es ms probable que gen.pdf
 
Describe in your own words an EDI fallout report Discuss wh.pdf
Describe in your own words an EDI fallout report Discuss wh.pdfDescribe in your own words an EDI fallout report Discuss wh.pdf
Describe in your own words an EDI fallout report Discuss wh.pdf
 
Marketers working in the public interest focus on getting th.pdf
Marketers working in the public interest focus on getting th.pdfMarketers working in the public interest focus on getting th.pdf
Marketers working in the public interest focus on getting th.pdf
 
Dos de los miembros de su equipo Cynthia y Shelly nunca pa.pdf
Dos de los miembros de su equipo Cynthia y Shelly nunca pa.pdfDos de los miembros de su equipo Cynthia y Shelly nunca pa.pdf
Dos de los miembros de su equipo Cynthia y Shelly nunca pa.pdf
 
La compensacin bsica en el proceso de inversin es entre .pdf
La compensacin bsica en el proceso de inversin es  entre .pdfLa compensacin bsica en el proceso de inversin es  entre .pdf
La compensacin bsica en el proceso de inversin es entre .pdf
 
INDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdf
INDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdfINDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdf
INDIVIDUAL DEVELOPMENT PLAN INDIVIDUAL DEVELOPMENT PLAN Indi.pdf
 

Recently uploaded

MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptxPoojaSen20
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesAmanpreetKaur157993
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSean M. Fox
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppCeline George
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppCeline George
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxCeline George
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project researchCaitlinCummins3
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 

Recently uploaded (20)

MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 

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

  • 1. 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