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

solve the following problem: (12×10^9)÷(6×10^5)
Social needs are acquired through?
What is the meaning of the root word caust
Write -90.85 as a mixed number in simplest form.
How does latitude affect climate
how were the oregon and santa fe trails different ?
4x^2-28x+49=5 solve the quadratic by completing the square
what is the percent notation for 6.4%
What part of the cell produces ATP for the blueberry plant to grow? A. Mitochondrion B. Cytoplasm C. Ribosome D. Nucleus
6x squared plus 12x plus 13 equals 2x squared plus 4