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

Please help answer please
How are the volume formulas for right prisms and pyramids the same?
The home of the american music theater or broadway is located in what city apex
Match the following items. 1.cotton gin James Oliver 2.sewing machine Peter Cooper 3.steamboat Thomas Jefferson 4.Tom Thumb steam locomotive Cyrus McCormick 5.E
What are the two most commonly notations to denote the dates of histroucal events?
HELP ASAP PLZ!!!!!!!!!! Which sentence is an example of an inciting incident in American Born Chinese? A. Wei-Chen calls Jin Wang a coward for not volunteeri
(4ab - 8a 2 + 12ac) ÷ 4a
how do a healthy family relationship affect members of a community
The Venus of Willendorf was created out of which media Ivory Clay Stone Terra-cotta
Which expression is equivalent to sqrt2/^3sqrt2