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

what is a good question for me to ask that i can put up for 100 points?
The measure of an angle is 34.6°. What is the measure of its complementary angle?
what is a good question for me to ask that i can put up for 100 points?
According to the Law of Conservation of Matter, if I have an Oreo cookie that weighs 20 grams and I crush it into crumbs for a recipe, how much do the crumbs we
The amplitude of a mechanical wave shows _____. A. how fast the wave is moving B. how many waves pass a given point in one second C. how many seconds it takes a
this is for medical detectives
Any gïrls here free to talk
100 POINTS 6 different answers needed, and a chart filled out I'll work on it on my own, but I do need some help and it would also be nice to compare my answe
Write the equation so that a = 1: x2 + -6 x = -13 Complete the square: x2 – 6x + = –13 +
Subtract the following complex numbers: (11-7)-(16-11) A. 5+ 4i OB. 5-18i O C. -5-18i OD. -5+4i