Fix warning in PrintDate demo
simple  for + yield example