Hey Wassup Python Programmer. Here i have share you the code of 2D snake game using python.So Before Running this program make sure that u have install requried module requried Module :- pygame , 

 Install The Module using this command below 
 > pip install pygame 
 Rest All all module come pre installed in python.. Hits the above command in your Window command prompt or terminal to install the Requried Module Copy The code correctly Make Sure that you havent make any indentation or syntax error



credits :- # ----------------------------------------------------------------------------- # # Snake - 2D # Language - Python # Modules - pygame, sys, random, copy, time # # Controls - Arrow Keys # # By - Jatin Kumar Mandav # # Website - https://jatinmandav.wordpress.com # # YouTube Channel - https://www.youtube.com/channel/UCdpf6Lz3V357cIZomPwjuFQ # Twitter - @jatinmandav # # -----------------------------------------------------------------------------