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

Which of the following is a base? OHBr OHCI ОNaOH СНІ
Why can a macroscopic amount of liquid that is contained change with the shape of the solid container holding it? A. Liquid molecules and atoms take on the char
Headlights, signal lights, and taillights exist so you can ___?
M + e -> M-1 This reaction represents
A clay ball with a mass of .045 kg is attached to a long string to make a pendulum. The ball is pulled back so that the string is horizontal to the ground, and
what kind of cells is an amoeba?​
A foreman for an injection-molding firm admits that on 26% of his shifts, he forgets to shut off the injection machine on his line. This causes the machine to o
The least common multiple of 20,24 and 45 is
What is the formula of hydrogen dioxide
(TCO 1) An arrangement of people, data, processes, and information technology that interacts to support and improve day-to-day operations in a business, as well