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

write three different fractions that match the shaded part of the drawing.
40000 divided by 3.89
which major issue was debated at the Constitutional Convention in 1787 and contributed directly to the start of the Civil War
Is the GCF of of any two odd numbers always odd? And please an explaination or counter example
13. which of the following states of matter has no definite shape but does have a fixed volume? a. liquid b. solid c. gas d. element
que formas de organizar ideas y palabras consiguen emocionar a los lectores? Porque?
a mother that carries the colorblind allele and a father with normal vision can have children that are only a) normal boys and normal girls. b) colorblind girls
Which of these is an irrational number ? A.0 B.1.9 C. √7 D.1/2
When I triple my number and subtract seven I get 83 what is my number
What's 0.5 is 10 times as great as