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

1. Which type of bonding is never found in elements? A.covalent B.ionic C.metallic D.van der Waals' force
how did the geography of greece affect its development?
can yall peeps help me
Using a vue-cli initiated project, make a ticker that will keep track of the number of attendees in a space
If it’s right guess what you get…. Just take a guess
Jim has a bank account balance of −$15.46. As soon as he realizes this, he deposits $25.50 in the account. What is Jim's bank account balance after the deposit
Lettre de Rousseau à Mme De Warens pour capter sa bienveillance
Julie ran 4 miles in 22 minutes. What is the unit rate in terms of minutes per 1 mile?
Simplify: 20x - 2-3 + 3x)
[tex]-8^\frac{1}{3}[/tex]