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 exercise 3-8?
The intense loyalty to country that caused much of the tension in europe was called _____.
Predict the product formed when the compound shown below undergoes a reaction with hcl in h2o.
He length of each side of a square is 3 in. more than the length of each side of a smaller square. the sum of the areas of the squares is 317in squared .in2. fi
explain what would happen if the vacuole was destroyed
Write an inequality to represent "the cost of going to a movie is no less than $6.00
what is one important characteristic of all human systems
Out of more than 11,000 amendments to the constitution that have been considered by congress, only ______ have been ratified.
What happened to most working women after world war i?
A mihrab is an important part of a mosque. What is its function?