Username12345678901 Username12345678901
  • 08-08-2019
  • Computers and Technology
contestada

write a function called print_function that takes integer number as argument and prints the following pattern if input is 3

*
**
***

Respuesta :

meghna300
meghna300 meghna300
  • 08-08-2019

def print_function(x):

for i in range (x+1):

for j in range (i):

print ("*",end="")

print (" ")

return ()

Answer Link

Otras preguntas

Don't know where to start...
What is 0.233333 as a fraction
4. What is the y-intercept of the line with the equation 4x + 2y = 12? A. (0, 3) B. (0, 6) C. (6, 0) D. (3, 0)
Dr. o’neill is interviewing parents about how they discipline their children in an attempt to outline the difference between normal levels of punishment and abu
There are 9 more children than parents in the room there are 25 people in the room in all how many children are there in the room what are the unknowns in this
What was done to ensure that a flooding event like the Tulsa Memorial Day Flood never occurred again?
A baker decorates 42 cupcakes in 30 minutes. She decorates cupcakes at a constant rate. How many cupcakes can the baker decorate per minute?
There are two stable isotopes of bromine . their masses are 78.9183 amu and 80.9163 amu. if the average atomic mass of bromine is 79.90 amu, what is the natural
if the endpoints of AB have the coordinates A (9,8) and B (-1,-2)what is the midpoint of AB?
1. What does an element’s position on the periodic table tell you about the element?