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

I need help FAST!!!Make sure you can explain the problem
Let f(x)=x^2+3x-4 and g(x)=x+5. Find f(x)•g(x) a. x^3+3x^2+16x-20 b. x^3+5x^2+14x-20 c. x^3-8x^2+11x-20 d. x^3+9x^2+19x-20
What do you know about Mukhiya in the group of newar community?​
what are the features of dot net ???​
Find the common factor of 75,00 and 60​
The angle of the resultant vector is equal to the inverse tangent of the quotient of the x-component divided by the y-component of the resultant vector the inve
HELP PLEASE !! find the surface area of the cylinder and round it to the nearest tenth.​
Which of the following features is available on Windows 10?
what is equal to 1 hector area
Which sentences in the list below demonstrate correct use of commas? Patty's new husband, Joe, is a mechanic who teaches at my school, Out of six cousins, my co