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

Mr. Goldsmith described the eruption of Mt. Mayon in the Philippines. He discussed great explosions very high into the air of both lava and pyroclastic flow. Wh
what is religious pluralism?
what is the step method to find gcf of 28 and 42
All the numbers less than 100 that have at least 2 and 5 on their prime factorization. What do you notice about these numbers
How many electrons should be in an atom’s valence shell (with the exception of hydrogen and helium) to become stable?
What is an example of biosphere?
Which of the following Polynesian islands has the largest population
The triangular region shows the number of possible raisins, x, and number of possible chocolate chips, y, a baker can use in a recipe. Which combination of rais
In what area did Mahan believe that the United States was unprepared?
because of scarcity, participating in the economy requires all of the following except a. decision making. b. unlimited production. c. exchanges. d. trade-offs.