is_egyptian = input("Are you Egyptian? Type 'yes' or 'no' \n ").lower()
if is_egyptian == 'yes':
    print("Good,that's the first step")
    is_18 = input("Are you above 18? Type 'yes' or 'no' \n").lower()
    if is_18 == 'yes':
        print('You can have an ID')
    else:
        print('Sorry, you have to be 18 or older')
        print('Please try again when you are 18')
else:
    print('Sorry, an Egyptian ID is give only to Egyptians')
    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: