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 metaphor of the invisible hand explains how
How does severe weather in Earth’s atmosphere affect Earth’s biosphere?
1) state the characteristics of a scalar quantity and give two examples of scalar quantities? 2)state the characteristics of a vector quantity and give two exam
Equation to model the relationship in the table
What is the answer and steps if x=6
what is 0.8 repeating as a fraction
A woman in north carolina was found guilty of “lewd and lascivious association” because she lived with her boyfriend. her behavior is also known as:
Identify the important features of the policymaking system and explain how public policies are the choices that government makes--and declines to make-- in resp
can someone help me with this question
What are the steps to writing an autobiography?