So here we will discuss about the programming concept and watch the video of first python program with example. Writing your own coding in python.
Some Background on Programming
To Understand the python first program. we consider you may be a beginner, let’s start with asking the question:
What is programming?
Programming is basically talking to your computer and asking it to do certain task. This is done through set of instructions. The big issue here is that the computer doesn’t speak English, Chines, or any other language traditionally used for communicate between humans.
There are different programming languages like Python, C, Java, etc. have been created to develop programs that perform simple commands that computers can understand.
It is common to be problems, confusions and frustrated when learning a programming language for the first time because it requires different way approach to solve problems.
When writing code, think about the task and computer as something that will only do exactly what you tell it to do, with following the the order you want.
Python is general purpose computer programming language. Python can be used for pretty much anything . It’s one of the most versatile languages in the programming world. With the vast amount of libraries help for programmer available, it makes coding much simpler.
what is python used for?
Specially, Python is used for robotics , web development, Internet of Things, numerical and scientific computing, natural language processing, and many more.
Python Easy to Understand
Python is easy to understand as compared to other programming languages . With Easy syntax, coding standards python considered as a stepping stone into the world of programming.
Python is helpful programming language in creating a solid base for the beginners programmers career ahead of C and C++.
Python Very Flexible
As a dynamically typed programming language, Dynamic type means that run-time objects (values) have a type, as opposed to static typing where variables have a type.
Python is really flexible. In Python Variables have no type. Only the object that a variable references has a type.
Example – Variables are simply names pointing to objects. like var = 5 makes the variable name var to refer to the integer 5. Other one, var = “hello” makes the variable name var to refer to a string containing “hello” word.
Static typed programming languages would have you declare int var and then var = 5, but assigning var = “hello” would have been a compile time error.
So there are no hard rules for coding. on how to build features, and you’ll have more flexibility solving problems with different logic and methods.