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

What is the main purpose of this excerpt from A Child’s History of England by Charles Dickens? The whole country [England] was covered with forests, and swamps
How to solve for w in V = lwh
Jason needs 13 gallons of paint to finish painting the exterior of his band if he uses 10 quad of the paint for the dolls how many quarts will left for the sidi
the word theory when use in a scientific sense mean
Several species of leopard frogs are common throughout North America, where their ranges overlap. Different species of leopard frogs are very similar in appeara
Read the following review by a movie critic. Then, select the phrase that best completes each sentence. This film by director Franco Zurbán is about the crimina
Clarify the beliefs of president Lincoln
Solve for the indicated variable. s = p + g/h for g.
Nigel paints 5/4 square yards in 1/3 hour. find the unit rate.
can someone please help me i have a learning disability and need help