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

HELP ASAP NOW LOOK AT PICTURE!!! 30 POINTS!!!
If a rectangle has a length of 12 inches and a width of 5 inches, what is the value of its perimeter? Include units.
3 times 1 times 5/3 pleaseeeeeee helpppp
________ was an important eighteenth-century geologist who developed the concept of Uniformitarianism to explain the slow, steady changes responsible for shapin
What is the meaning of “malicious” in paragraph 24
Question 4 of 5 What is the approximate radius of a sphere with a volume of 3052 cm3? A. 27 cm o B. 18 cm C. 54 cm D. 9 cm SUBMIT
The differences among a species, like different bird beaks or different fur colors, are called.
The variables y and x have a proportional relationship, and y = 9 when x = 2. What is the value of y when x = 10?
Math tw Directions : Solve using mul , or division Make sure to work and use CUBES if 1. (4X10)+ (4x7) = 17x 4
What does the Italian term "brillante" mean?