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

If f(x) is 4x-3 what is (f^-1of) (10)
Hey, need some help reverent A. respectful B. respect C. reply D. to spoil
What was the South’s greatest concern when California applied for statehood?
An ice cube is dropped into boiling water. How will heat flow between the water and the ice cube?
can u tell me how to solve this promblem 4/7 plus 3/7
can u tell me how to solve this promblem 4/7 plus 3/7
What is the probability of someone correctly guessing your Social Security number? (Assume all digits 0-9 are available for use)a
If f(x) is 4x-3 what is (f^-1of) (10)
What is the probability of someone correctly guessing your Social Security number? (Assume all digits 0-9 are available for use)a
How would you define psychological realism?