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

list the structures through which an egg cell travels, before and after it is fertilized, as it passes through the female reproductive system.
PLEASE HELP WILL GIVE BRAINLY AND 5.0 RATING
what determines the color of an transperent object?
can someone help me with this??
What are the coordinates of the y-intercept for the equation y + 3x = 6?
PLZ HELP ITS DUE TODAY!!!!!
HELP PLEEES ASAP i am so lost show your work
QUESTION 8 "He had composed a song." The passive form of this sentence is:
I'm doing a native American presentation (Mandan tribe), what common clothes do they wear? And...were they peaceful, or harmful towards other tribes?
PLEASE HELP WILL GIVE BRAINLIEST AND 5.0 RATING