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

who is credited with discovering the structure of DNA
Nearly all the energy from the earth receives from the sun is used in photosynthesis
definition statement should include
1. Who influences Guy's choices? How is this achieved?
Maggie plans to sell the bracelets she makes for a price of $5.50 each. For every bracelet she makes, she has costs of $0.05 for each of the 21 beads used, $0.7
which is greater thirty six and nine thousandths or four tens
Who was the leader of the Safavid Empire during its Golden Age? a Shah Ismail b Shah Abbas c Shah Safi d Shah Suleiman
is there treatment of chlamydia yes or no​
what spanish word do you put if an infinitive doesn't happen?
explain three ways in which red blood cells are adapted to their function​