print("Por favor ingrese su edad")
edad=int(input())
if edad >=18:
    print("Digite 1 si trajo la cédula, 2 si no trajo la cédula")
    cedula=int(input())
    if cedula == 1:
        print("Puede votar")
    elif cedula == 2:
        print("No puede votar")
    else:
        print("Solo hay como opción 1 o 2, digite los números establecidos")
else:
    print("No puede votar")

Embed on website

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