User Authentication Code In Python For Snake