LESSON: 1 INTRODUCTION TO PYTHON PROGRAMMING

in #nigeria8 years ago (edited)

image
Hi there,

Here's my first tutorial on Python programming. Python is basically the programming language used to develop the steemit blockchain so learning it might come in handy.

Python is arguably the easiest and most popular programming language in the world used widely for web programming, data science, robotics.

Python is faster to write and easy to understand and read than any other programming language that is why anyone can learn Python easily as long as they have their mind set on it. It doesn't matter if you have prior knowledge about programming or you already have a basic knowledge about it, Python is for everyone.

What's our focus on Python

  • Basics of Python
  • Strings and Variables
  • Datatypes
  • Loops and Conditions
  • Functions

DOWNLOAD AND INSTALLATION OF PYTHON 3.6

Python 3.6 is currently the latest version of Python out there so I thought it will be nice to start from there.

You start by opening your browser on your laptop or desktop, you could use Google Chrome or Mozilla Firefox and make sure ur device is connected to the Internet. Then visit ( www.python.org ).

Go to the the download tab, it will give you a dropdown stating if you want python for Windows or for different OS Such as Linux/UNIX,Mac OS X . Depending on the device you are using select according to your device. Since I will be will be using the windows version i selected the windows option.
Check the picture below for an example:

image

Select Download Python 3.6.3 then the download process begins……

As soon as the download is completed, go to the download folder on your computer and install the application...... The installation process is simple and easy and understandable don't panic it took less than a minute on my system.

After your installation you go to your computer, select a shortcut on your keyboard CTRL+Q it brings you a search tab. Search for Python 3.6 , open the folder then you will see four option in the folder. Click on IDLE(Python 3.6 32-bit) and send to desktop and there you have it.
Example:

image

YAY, LET'S START CODING

Open IDLE(Python 3.6 32-bit) on your desktop, and here's how it looks like.

image

YOUR FIRST PROGRAM

Now that you have your Python installed and ready to go let's take it simple with this calculations...
Type5 + 5
ENTER
10
Lets try another one
Type 3+3
Enter
6
And this
Type 10-10
Enter
0
See picture to understand better

image

Here's the end of the introductory tutorial to Python. Ensure to go through it and practice just I have said and instructed.
Any questions, I will be available to answer you...

Thanks for sticking around.

Vote, Comment and Resteem please

Sort:  

Thanks for sharing this... It really helped

Glad it helped.... You thinking of going into programming?

Joining steemit is a great opportunity to learning and widen our learning horizon. i hope people will leverage thing

Yeah... Steemit really is an avenue for knowledge... Hope you are having a great day

I am sure you haven't miss anything. All the details are there 😉 nice

Thanks friend

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.078
BTC 61583.79
ETH 1637.38
USDT 1.00
SBD 0.41