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 two spheres causes rain streams to flood
Simply the expression. 68 - 2 × (3 - 1)4 A. 36 B. -188 C. 38 D. 33
what are the factors of 18
Unlike the Spanish and French, the English were able to acquire large areas of land by allowing (5 points) a)widespread slavery of native peoples b)colonies
_______ is the sharing of meaning by sending and receiving symbolic cues. speaking hearing communication reading
PLZ HELP ME PLZZZZZZZZZZZZZZZZZZZZZZZZZZ
what was the name for the area Northwest of Lake Superior, between the Hudson Bay and Yukon
Intelligence is influenced only the environment. true or false
Jill's fish weighs 8 times as much as her bird. together the pets weigh 63 ounces. how much does the fish weigh
@bobross plz help I have another question A particle moves on a line away from its initial position so that after t hours it is s = 6t^2 + 2t miles from its ini