Learning Python the basics

in #steempress8 years ago (edited)

ExternalLink_pythonlogo.jpg

My Question:

Why should I learn Python? Are there any advantages to learning Python over other languages?

My Answer:

Python is a great language to learn, whether it’s your first time programming or not, for several reasons:

  • Python reads like plain English! This is something I can especially appreciate with a side-by-side. Take a look and, without worrying about what these code bits actually do, think about which is harder to read:

With Java look at how the code must be written.

// Java
public class HelloWorld {  
  public static void main(String[] args) {  
    System.out.println("Hello, World!");  
  }  
}

# Python
print “Hello, World!”
  • It’s one of the most popular programming languages with a massive community. This means help is readily available when you’re stuck!
  • It’s used in many fields and industries, like Web development, machine learning and AI, and data science, just to name a few. So once you learn the fundamentals, you can grow into the role of your choice!
  • So many Steem apps run off of python.

I already run a couple of bots python and javascript, but I want to jump in and be able to use the Steem API to try to create some apps of my own.
2018-06-27 19.21.33.gif
These are all the lessons (basic lessons) for Python Syntax

First LESSON

This lesson will introduce you to Python, a general-purpose, object-oriented interpreted language you can use for countless standalone projects or scripting applications.

Exercises

  1. Hello World!
  2. Print Statements
  3. Strings
  4. Handling Errors
  5. Variables
  6. Arithmetic
  7. Updating Variables
  8. Comments
  9. Numbers
  10. Two Types of Division
  11. Multi-line Strings
  12. Booleans
  13. ValueError
  14. Review

Follow me and my coding journey, using CodeAcademy.

Sort:  

I have been learning python using CodeAcademy too. I started a couple of years back but was stuck during a math problem and got busy in other stuffs and stopped practicing python. Nowadays, I'm revising again.

Python indeed is much easier than other languages.

Well that's what they say I also like ruby, and now javascript.

Get back on the horse never to late.

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.075
BTC 64465.86
ETH 1681.46
USDT 1.00
SBD 0.42