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

-5|4/5w+6|=-10 please help I can't figure this out
Find the product. Simplify.
Each costume needs 46 cm oc red ribbon and 3 times as much in yellow ribbon. What is thevtotal length of ribbon needed for 64 costumes? Ecpress yohr answer in m
The technology of the astrolabe allowed sailors to navigate the seas by charting the stars and the constellations all the time. TRUE FALSE
Which of the following best demonstrates how the societies of the Greek polis and the Roman Republic differed? 1. Roman society treated women far better than G
How Did Edgar Allan Poe Die ?
what is the significance of hadrian's wall? a.the wall has a monument to fallen roman soldiers b.the wall marked the boundary between acient greece and rome c.t
HELLOOOOOOOOOOOO EVERYONEEEEEEEEEEEEEEE i need help xD Question: sometimes we do use our "membership" to hurt others, without even knowing it. Can you think of
evaluate |10| + |-12|
Identify the independent and dependent variable of the experiment growing corn