import time
#How to use the "if" command properly in Python
#Please remember: This is just an example
#If you need help with this, you can contact me on Discord: Yasin#0069
first = input("Are you sure, that you want to continue |y/n|")
#This does execute, if you have entered "y".
if first == "y":
time.sleep(3)
print("Yes")
#This does execute, if you have entered "n".
#Everything that comes after "if" has to start with "elif" if you have "else" included.
elif first == "n":
time.sleep(3)
print("No")
#This does execute, if you have entered anything else than "y" or "n".
else:
time.sleep(3)
print("Anything but Y or N")