Repeat a string: Difference between revisions

Content added Content deleted
m (→‎{{header|Explore}}: The second example is explained better.)
m (→‎{{header|Explore}}: The second example has a shorter description.)
Line 729: Line 729:
This example that uses the code from the Scratch solution (you can go to [[Repeat a string#Scratch]] for the original example), which requires making variables named "String", "Count", and "Repeated" first, works, unmodified:<br>https://i.ibb.co/yX3ybt7/Repeat-a-string-in-Explore-using-the-Scratch-solution.png
This example that uses the code from the Scratch solution (you can go to [[Repeat a string#Scratch]] for the original example), which requires making variables named "String", "Count", and "Repeated" first, works, unmodified:<br>https://i.ibb.co/yX3ybt7/Repeat-a-string-in-Explore-using-the-Scratch-solution.png


But this example that uses a special block located in the Strings category, and also outputs the results of the repeating of the string to a "say" block, can be used instead:<br>https://i.ibb.co/71x9rwn/Repeat-a-string-in-Explore-using-a-special-block.png
This example uses a special block located in the Strings category, and also outputs the results of the repeating of the string to a "say" block:<br>https://i.ibb.co/71x9rwn/Repeat-a-string-in-Explore-using-a-special-block.png


=={{header|F_Sharp|F#}}==
=={{header|F_Sharp|F#}}==