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

Niaz's car breaks down, and he is convinced that it was a predictable event even though there was no way of knowing it would happen. this exemplifies ________.
Which pigment group absorbs the least light from wavelengths between 600 and 750 nanometers?
Which of the following sentences is NOT true? Animals gathered around flooding river plains. Wild game drew humans toward fertile river valleys. OAnimals made a
which president led the United states through the end of the cold war? apex
Which of the following would naturally form a cation? Ne Li O I
The major asked me to have a drink with him and two other officers. We drank rum and it was very friendly. Outside it was getting dark. I asked what time the at
In which cell would you expect to find the most rough er?
PLEASE HELP FAST!! WILL GIVE BRAINLIEST!! For the acids, use the formula pH = -log[H+]. (Because HCl has 1 H+ ion per formula unit, [H+] equals the molarity.) F
Having a little trouble
New England's most profitable industries were fishing and _______. (Possible Answers)1) agriculture 2) shipbuilding