DEV Community

Cover image for How to learn to program from Donald Trump’s Tweet (includes code)
karan jagota
karan jagota

Posted on

How to learn to program from Donald Trump’s Tweet (includes code)

Learn a programming concept from one of the President’s tweets.

This post is neither about Donald Trump nor about the US elections 2020. I am just trying to create a viral post from one of the latest Donald Trump’s tweets. So, bear it with me, just like you, with his 3:00 am tweets.

Alt Text

I request each of you to keep the politics aside and focus on learning the coding concept.

In programming, while writing loops, we often encounter a situation where we would want to stop it based on a condition. If any of the above words find you confusing, then don’t worry! You will learn it all in this post. Just keep reading.


If you like the post and want to connect, you could do that by reaching out to me on Twitter. I would love to have a good Dev conversation or a DevJoke ( whatever you prefer ). I bet we could learn a lot from each other.

Top comments (1)

Collapse
 
sloan profile image
Sloan the DEV Moderator

Hi there, we encourage authors to share their entire posts here on DEV, rather than mostly pointing to an external link. Doing so helps ensure that readers don’t have to jump around to too many different pages, and it helps focus the conversation right here in the comments section.

If you choose to do so, you also have the option to add a canonical URL directly to your post.