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

A line has a slope of -4 and passes through the point (0,-6) how do you do this ?
According to newton's second law of motion, how much force will be required to accelerate an object at the same rate if its mass is reduced by half? A.No change
How do I get more used to studying? Like how do I make myself WANT to study and used to it?
Pete is making decorations for a dinner party the instructions tell him to use 9 flowers for a medium sized decoration
Physics. How to solve this?
why was simplified Chinese invented by the govermont?
Please help!!! MAX POINTS I CAN DO it’s in math because i trust the math people more
Which system of inequalities has a lot of solution?
My mom cooked me a good hearty breakfast. What can you Infere?
Can you help me on this.