Can you eat a little sugar during weight loss diet?

Why. Why take in any extra calories (particularly empty calories without any nutrition or benefit) when you are trying to reduce caloric intake to lose weight. That makes absolutely no sense, does it?