In three separate bowls, place the flour, beaten eggs, and shredded coconut.
Season the shrimp with salt and pepper.
Dredge each shrimp in flour, shaking off the excess, then dip into the egg, and finally coat with shredded coconut.
Heat oil in a large pan over medium-high heat.
Fry the shrimp until golden brown and cooked through, about 2-3 minutes per side.
Remove the shrimp from the pan and drain on paper towels.
Serve the coconut shrimp with sweet chili sauce on the side for dipping.