Please provide the code for printing the below pattern:
a
ab
abc
Discussion posts and replies are publicly visible
Sorry, but why would I want to do that? Ask concrete questions and you will get support.
What did you try? Do you have a specific question?
Hint: Combine two nested foreach(), code() and enumerate().