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

How did The Atlantic Ocean trade eventually lead to the crossing of the Pacific Ocean?
(9x−4)−(2x−7) simplified
Which of the following phrases could logically be used as an alternate title for this story? a A Toad Licks Alexis. b Bitten by an Evil Toad. c Tadpoles, Toads,
4. ¿Cuántas personas hablan español en los Es
The _________remarks by his co-workers hurt more than his boss' negative analysis.
Was the gulf war waged by president bush justified
Find x: 2x-4= 5x +6- (-10)2
There were 4/5 as many cars at the at the race the second year as the first if there were 32 cars and second year how many cars are there the first year?
One important step before you diversify your investments is: Getting a job Graduating from college Determining your comfort level with risk Having saved a large
I have no idea how to attack this problem!!!! Can I get a step by step please?