Does The Code Work With Python2 Only This Is No Longer The Most Current Python Release

Does The Code Work With Python2 Only This Is No Longer The Most Current Python Release