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

Is there a direct relationship between where earthquakes occur and where plate boundaries are located? If yes, describe their relationship.​
what is a mixed economy where the government dominates
What is the measure of angle K? 59° A m/K B g/n D A. 180° B. 58 C. 122 ОО D. 32
The study of classification and properties of animals​
Drag each tile to the correct box. Not all tiles will be used Put the events of the Civil War in the order they occurred. First Battle of Bull Run Sherman's Mar
Please help me i have not been to school in a week because of a vires
Question in the image below:
what is 550÷1000000??This is a long division problem.​
to remember those who died, we will build a monument to commemorate them.
why is the square root of (-5)^2 25 but the square root of -5^2 is -25? ‍