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

Simplify the expressions: cot 0 sec 0 A. Sin0 B. Csc0 C. Cos0 D. Cos* 0
What is the amplitude of y=1/2 sin2x
How do you?...Multiply out and simplify 10(2x-1)-20x?
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
how were north american colonies all similar in the 1700s?
how do you write 4540 million in standard form?
what is a high structure part of a church which has 5 letters
What are the functions of receptors in our body? Think of a situation where receptors do not work properly. What problems are likely to arise?
What were the major causes of WWII? Please include at least 4 answers.
how were north american colonies all similar in the 1700s?