Yes, he is the President of the United States of America and Yes, he is the first President to write code. President Barack Obama did this as part of the Hour Of Code . He joined over 53 million students worldwide to try the Hour of Code; to show that anybody can try computer science, and learning the basics is the best way to prepare for any career today.
Well what did the President do? He wrote a line of code that renders a square on the screen.
Here is President Obama kicking off the Hour of Code 2014.
I truly appreciate the fact that the President is solidly behind learning and creativity in the country. I wish more nation leaders can truly back creative ideas and initiatives that can make their nations great.
Though Hadi Partovi, Cofounder of Code.org, envisioned that #HourOfCode would reach 100M this year, he has about 3 weeks left in the year to see whether he can meet this target. Help by joining the movement: try the Hour of Code