Python Basics

in #chronocrypto6 years ago


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.


Posted from my blog with SteemPress : https://chronocrypto.io/python-basics/
Sort:  

Basics of Python 3 are simple, but the further you go into the harder it gets. You showed Python 2 example, Python 3 is the future only.