How to create button that makes lines of text appear randomly

please format code with </> button * homework policy * asking questions

Wondering how to do this?

Hello and welcome to the forum!

you can make an array for the lines of code and a button.

for random see here:

for button see here:

for lines of code see

Warm regards,