• billwashere@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    2 days ago

    You don’t need AI for that….

    
    #!/usr/bin/env python3
    
    def main():
        try:
            _ = input("Enter reasoning for claim: ")  # read but ignore the input
            print("denied")                # always respond "denied"
        except (EOFError, KeyboardInterrupt):
            # Even if input is interrupted, still respond "denied"
            print("denied")
    
    if __name__ == "__main__":
        main()