My code works?

Mines not showing three in output, but its not also showing any error. Why?