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

A study of 420,046 cell phone users found that 140 of them developed cancer of the brain or nervous system. Prior to the study of the cell phone use, the rate o
Culture that fused ideas of Greece and Persia particularly after the conquest of alexdrer the great
Help please Help please Help please Help please
Which instrument belongs in the brass family?
“Tell me what the truth is”- complex to compound sentence
In 2005 there was 1200 rabbits in an island. The population decays at 8% every year. At this rate how many rabbits will there be in the year 2020?
Can someone help plzz!!!!
LABEL THE HEART 1-13 !
I am an ageing animal and this is the story of my life​
Consumers are always willing to pay the most for the very first unit, and pay less for each additional unit. This idea is called: O the income effect O the subs