+ 1

Better solution for Python Data Structures 4.2

I think this would be a better solution. i = input() N = 1 for el in i: print(el*N) N += 1

14th Apr 2023, 7:25 AM
Paul-Henry Paltmann
Paul-Henry Paltmann - avatar
3 Answers
+ 6
Paul-Henry Paltmann , you say that your code is a better solution. ??? better than what ???
14th Apr 2023, 9:18 AM
Lothar
Lothar - avatar
+ 4
So what is your question?
14th Apr 2023, 7:45 AM
A͢J
A͢J - avatar
+ 3
You had posted a question with answer 🤔
14th Apr 2023, 7:56 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar