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

How did cooperation within early civilizations most likely impact the use of resources? (select all that apply) a. shared information increased resource used
250% of what number is 127.5?
what would be a good estimate of the maximum heart rate for a 50-year-old male?
how could i tell time by a clock watch
what was an african american college
which chinese philosophy had a major influence in shaping the values of medieval japan?
39 times 5 in distributive property
you order 4 fish sandwiches and a hamburger. the cost of the hamburger is $2. 50. your total bill before tax is $14.30. write and solve an equation to find the
The expletive is an introductory word followed by the adjective. True or False
4768 to 2 decimal places