Skip to main content
-2
Source Link
Ethan
  • 455
  • 2
  • 9

PHP, 5858 56 bytes

for($a=$b=30;$a--;$b+=rand(-1,1);)echo str_pad('',$b$b+=rand(-1,1))."+
";

Try it online!Try it online!

-2 bytes thanks to @Shaggy

PHP, 58 bytes

for($a=$b=30;$a--;$b+=rand(-1,1))echo str_pad('',$b)."+
";

Try it online!

PHP, 58 56 bytes

for($a=$b=30;$a--;)echo str_pad('',$b+=rand(-1,1))."+
";

Try it online!

-2 bytes thanks to @Shaggy

Source Link
Ethan
  • 455
  • 2
  • 9

PHP, 58 bytes

for($a=$b=30;$a--;$b+=rand(-1,1))echo str_pad('',$b)."+
";

Try it online!