How to make sending messages after a certain amount of time?

Please help me write the code. You need to make it so the bot sent a message after 10 seconds (no loop).
import time

name = input("What is your name:\n")
old = int(input("How old are you? :\n"))

if old < 18:
 print("Sorry, you are under the age of 18 years. Come back when you'll be 18.")
elif old >= 18:
 print("Well" + name + ", your profile is suitable. We will send access to the site in a few minutes.")
 print("Wait! The access code will be ready within 30 minutes.")
 timing = time.time()
 while True:
 if time.time() - timing > 10.0:
 print("Your access code: ")
April 4th 20 at 00:38
2 answers
April 4th 20 at 00:40
There is a special tag for your code, it should be used.
@Delores.Beier, You said no series, I wrote without a cycle, and you still use the cycle where there should not be cycle. Why? - Elbert_Colli commented on April 4th 20 at 00:43
April 4th 20 at 00:42
Why not time.sleep(10) ?

Find more questions by tags Python