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

sami ordered 132 dresses for her store .what is 132 rounded to the nearest ten?
which of the following marked the achievement of a long-held suffragist goal in the early 1900s ?
whats the answer to 9s+3=57
what is the unit rate in 49 points in 7 games
what is the number 8.293 round on the hundredths
What is the simplified form of 3abc/abc, when abc does not equal zero? Explain using the properties of real numbers.
Which statement best illustrates Siddhartha Gautama’s view toward wealth? a. Gautama wanted to help others through his wealth. b. Gautama was embarrassed by h
Understand the central concerns that motivated the antifederalists and indicate their economic and political differences with the federalists
Inalienable in a sentence
Claudia's father is 7 times as old as Claudia. 20 years from now, Claudia will be 1/2 as old as her father. How old is Claudia's father?