Learning Python the basics
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.
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
- Hello World!
- Print Statements
- Strings
- Handling Errors
- Variables
- Arithmetic
- Updating Variables
- Comments
- Numbers
- Two Types of Division
- Multi-line Strings
- Booleans
- ValueError
- Review
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.