Python – Basic Input

In this article, I am going to show you how to get input from the user. In this particular post, I declared a variable which is called name. After getting the name, the output will be the string “Hello” then the name.

The codes are shown here:

input1

 

 

Click run then select run module.

The output should be:

input2

 

Thank you for reading this post.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s