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 type of energy does a spinning turbine have? a. electrical energy b. nuclear energy c. thermal energy d. mechanical energy
What's the solution??
Which is a part of the male part of the flower? A. petal B. anther C. stamen D. pollen
The deciding vote is also called the? 1. litigant. 2. law. 3. voting bloc. 4. swing vote.
Where are Baltic-Slavic languages spoken? A. northern Europe B. eastern Europe C. western Europe D. southwestern Europe
What was the impact of spains settlement in the americas?
Geologic time is divided into units based upon types of__?
Which moon has a very thick nitrogen atmosphere, making it somewhat Earth-like? A. Titan B. Triton C. Callisto D. Ganymede
In what city did the Continental Congress meet? a. Boston b. Philadelphia c. New York City d. Washington d. C.
pearl is a fifteenth-century elegy containing a dream vision. true and false