I need help with my code. Howe can I make the text to display certain time.

This isn’t actually your code as thus doesn’t print anything.

You need to show your actual code if you want us to tell you what is wrong with it.

Also read the guide in how to post questions - coz somebody is going to mention code tags (with good reason!)