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

Tommy is making a picture graph to show his friends favorite kind of music. he plans to use one musical note to represent 2 people How many notes will he use
what is 5.5 as an improper fraction?
Identify the simple predicate in the following sentence. George Washington was one of the greatest generals in American history.
How do you determine the half-life of a radioactive parent isotope based on a decay curve?
Both Kurdish and Irish unification movements Answers are - have employed violence and terrorism -resulted from ethnic minority suppression -have forced a nati
find 3 consecutive even integers with a sum of -30
Identify each of the cell structures in the figure
what is 0.91 times 8.4 show your work
Plz help with these questions!!
explain 1 way to add 3 digit numbers