this is a problem with indentation. try this:
while True:
print("YOUTUBE SIMULATOR")
print("1. search a video")
print("2. edit video")
choice = int(input())
if choice == 1:
print("Searching video...")
print("Can't find your video!")
elif choice == 2:
print("Editing video...")
print("Can't edit your video?")
solved python program not working beacuse of the “if” [closed]