- 1
5th Feb 2021, 5:05 AM
2128 Priya Rani

1 Answer
+ 7
for ($i = 1; $i < 7; $i++) {
echo str_repeat($i, $i) . ' ';
}
5th Feb 2021, 5:50 AM
Igor Makarsky

Often have questions like this?
Learn more efficiently, for free:
Hot today
Is this realistic enough?
1 Votes
Need friends
0 Votes
"Whatâs the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Python
1 Votes