Learning Python the basics

in code •  29 days 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/learning-python-the-basics/
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

✅ Oh wow! @chronocrypto very nice… i really like your blog. Very useful informations. Thx I am a big fan of yours!!!! Please give advice for betterment of each other.
@sbanerjee0017 (Shyamal Banerjee[Age:62] Kolkata,INDIA)✍

It will be nice to do a tutorial that uses steem api to make apps. What advice will you give a non programmer who wants to study scratch programming language?

·

Check out edx.org they have a whole selection of python courses by established universities. All for free!

Im still a student, I think I need this.

Python is loads of fun to write in, and I love the clean appearance of the code. I wrote a silly little program a while back, here it is. It has two arrays that can be filled with random words in the demonstrated format, and running the program produces a random first name and last name combination. You can also change the value of the "num" variable to generate more combinations at once.

https://repl.it/repls/SeashellIcyBlockchain