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

I speak english. i also speak spanish = hablo inglés. ___________ hablo español. también tampoco ninguno tanto
Estimate the speed at which the average oxygen molecule is moving in the room that you are in
"what shape are the pebble-sized particles that make up the rock?"
Capillary action alone can move water to the top of tall plants
Mexico city, mexico san salvador, el salvador are both what?
match each element of drama with its definition and example
WILL GIVE BRAINLIEST!!!!!!! LOOK AT THE PICTURE BELOW TO ANSWER THE QUESTION! WHERE SHOULD I PUT THE SUM BETWEEN ON THE NUMBER LINE!
The network administrator has assigned you to plan the topology for a new network. it will need 30 hosts. what subnet mask will be needed
Patrick drove 220 miles to his grandmothers house. The trip took him 4 2/5 hours. What is his average speed in miles per hour.
The toxic effects of water pollution are generally _______. a. immediate and long-lasting b. immediate and short-lived c. delayed and long-lastin