heavengirma40 heavengirma40
  • 19-12-2021
  • Computers and Technology
contestada

write a program to print. *
**
***
****
*****​

Respuesta :

Аноним Аноним
  • 19-12-2021

Program:-

[tex]\tt for\:i \:in\: range(2,6):[/tex]

[tex]\tt\quad for\: j\: in \:range(1,i+1):[/tex]

[tex]\tt\quad\quad print("*",end='')[/tex]

[tex]\tt\quad print()[/tex]

Output:-

[tex]\tt **[/tex]

[tex]\tt ***[/tex]

[tex]\tt ****[/tex]

[tex]\tt *****[/tex]

Answer Link

Otras preguntas

The length of a rectangle is 4 centimeters more than twice its width. If the perimeter of the rectangle is 86 centimeters , find the dimensions of the rectangle
How many miles will a car with 1 minute and 30 seconds last for 1 hour?
Athens and Sparta had great love for each other. True False
Galileo was perhaps was best known for
Lee la oración en español y escoge todo lo que aplica. Charlie y Sophie están comiendo un plato de arepas. present-progressive tense regular-possessive adjectiv
1. Perform a cross between two pea plants with the following characteristics: One is heterozygous for the dominant trait of wrinkled seeds (W); the other is hom
Give one factor of the polynomial, factor the polynomial completely. f(x)=x^3-4x^2
Why did Austria shift alliances in the mid-1700s?
The ester below can be separated into phenol and an acetate salt, via saponification: heating the ester with a strong base, such as sodium hydroxide, will produ
A square sheet of art paper has an area of 625 square inches. What is the minimum side length of an easel that supports the whole sheet of paper?