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

Describe the positive and negative effects of the Industrial Revolution on each societal class. Your essay should be at least four complete sentences long.
PLZ HURRYY!!Solve for p.5p – 7 > – 12
FeCo2+NaCo3+Hg+Co2No3
Differentiate surface current and deep-sea current?​
Just like modal verbs that function as a helping verb in a sentence, How about you as a student, how can you be like modals in the community you belong?​
The excerpt below was written by historian Eric Foner in 2005. More than simply a form of racial separation, segregation was part of a complex system of white d
plzzzzzz helpppp meeeee
Can someone help? TvT please
An airplane has a speed of 135 mi/h in still air. It is flying straight north so that it is always directly above a north-south highway. A ground observer tells
Referring to the facts set out in Question 73, Mitch has pumped water across Wayne's property for nearly a decade. One day Mitch informs Wayne that farming has