soumyanakarmi
soumyanakarmi soumyanakarmi
  • 01-05-2021
  • Computers and Technology
contestada

write a programme to print the following series or pattern 1,22,333,4444,55555​

Respuesta :

paulbabchanik paulbabchanik
  • 01-05-2021
def create_sequence():

n = int(input('Enter the number till which you want the sequence:'))

for i in range(1,n+1):

print(str(i) * i)



create_sequence()




This is python language
Answer Link
kdaayush7
kdaayush7 kdaayush7
  • 25-08-2021

Answer:

hey here is your req answer.

CLS

FOR i = 1 TO 5

FOR j = 1 TO i

PRINT i;

NEXT j

PRINT

NEXT i

END

any problem the comment it and let me know

hope this helped you

Answer Link

Otras preguntas

What kinds of materials have good electrical conductivity?
How is the conquest of territory different from the spread of islam
Any organism that has a skeletal system is a
A free resident of a Greek city-state
_____________ means to enclose something tightly, such as is done with stones or tiles, and a filler, when creating mosaics a. Pasting c. Embedding b. Impacted
Which of these is a sentence fragment? A.Although the rain continued through the night. B.We stayed up late hoping to see the lunar eclipse. C.Because of the cl
how do you write three and 18 thousandths in decimal form?
what was Tiberius leadership style
Which of the following statements contrasts a parable with a fable? Both fables and parables inspire, or teach, a truth. Fables use talking animals and parable
What differences can you detect between the structures of dehiscent and pre dehiscent anthers?