INTRODUCTION
Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in
1991, Python's design philosophy emphasizes code readability with its notable use of significant white-space.
Python is as simple as simple English, yet powerful.
It is an object oriented programming language. We don’t have ‘;’ to end the statement instead we have
indentation to worry about.
Look at the code below,
Python has built-in modules (written in c), we call
libraries, that provide access to system functionality such as file I/O that
would otherwise be inaccessible to programmers. Even modules written in python
provide standardized solutions for many problems.
Look down to the code,
Like this, there are many libraries in built in
python that can ease up the pain of problem solving questions.
Python is a very simple language with almost null
complications. Before initializing, you don’t have to mention the data types.
But you can easily find out what type of data type the user has input. We will
study more deeply into this once we are done with the basics
Look down,
To study data types, click here.
In python, in
data structures, we have:
1)
Lists
2)
Tuples
3)
Sets
4)
Dictionary
5)
Strings
Loops in Python:
1) For loops: The statement is
2) While loops: The statement is
Hello Python people, for this blog we have taken help from the book Python : The Complete Reference.
If you still have any doubt on this topic then do come to us via email "sophomoretechs@gmail.com" or via Instagram "@coding.winds".
Do subscribe to our daily blog update by clicking here.
Thank You!
No comments:
Post a Comment