While flies initially prefer food with a sweet flavor, they quickly learn to opt for less sweet food sources that offer more calories and nutritional value, according to new research by zoologists. The findings are the first to measure the shift in food preference over time, and the first to find that flies opt for nutritious food more quickly when they’re hungry.