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

Laura had some money in her wallet she spent $18.62 buying groceries and had $43.55 left how much money did she have in her wallet before she bought the groceri
What is the answer to question 10
What are the solutions of a quadratic equation (X-8)2-13(x-8)+30=0
At a hardware store, a tool set normally costs $80. During a sale this week, the tool set costs $12 less than usual. What percentage of the usual price is the s
Marcos es el primer gerente de su familia. correct incorrect
Which of the following is the value of the expression 2x^2+1 when x = -2?
Evaluate the function f(x) at the given numbers (correct to six decimal places). f(x) = x2 − 9x x2 − 8x − 9 , x = 0, −0.5, −0.9, −0.95, −0.99, −0.999, −2, −1.5,
what is √6 divided by √5 in simplest radical form?
Why did the limestone have to come by water? The great pyramid
A pie shop charges $4 for a slice of pie. They cut each whole pie into 6 slices. How much money will the pie shop make if they sell 5 pies?