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

Judgment is when it comes to driving . A. very important B. unimportant C. optional
what the answer Juan has 12 muffins. he puts 1 forth of the muffins in a bag how many muffins does Juan put in the bag!
Simplify. - 1/2x - 1/5 - 5x + 3/10 + 3/2x
Can someone simplify and explain how you did it? -10+4(2b+2)=
10 points do all thanks very much
Why doesn't the United States embrace nuclear energy?.
Point J(4,5) reflects over the y-axis and then is translated (x-3,y+4). What is J'?
This organization is focused on mutual defense. The United States is a member. Which international organization does this statement describe? United States–Mexi
What phenotypes would you expect from a cross between a red bull and a white cow?
How to divide 400 by 40