0

ما حل المسألة هذه؟

Take a string as input and output each letter of the string on a new line, repeated N times, where N is the position of the letter in the string.

26th Dec 2022, 1:09 PM
Zina Shekh Alzoor
Zina Shekh Alzoor - avatar
3 Answers
+ 5
It seems you are regularly trying to let the community write your homework. Why don't you give it a try yourself, and show what you got? It would be unfair towards you to give you a complete solution, that way you learn nothing, and this is a learning platform. https://www.sololearn.com/post/1712711/?ref=app
26th Dec 2022, 1:36 PM
Tibor Santa
Tibor Santa - avatar
+ 2
For this task, it is useful to know the enumerate function. https://realpython.com/JUMP_LINK__&&__python__&&__JUMP_LINK-enumerate/ If you link your code, people can give you better personalized help.
26th Dec 2022, 1:54 PM
Tibor Santa
Tibor Santa - avatar
0
Thank you Sure, the question is sure, when I'm doing the code wrong and I don't know or to clarify a certain point that wasn't clear to me 
26th Dec 2022, 1:52 PM
Zina Shekh Alzoor
Zina Shekh Alzoor - avatar