DEV Community

Pallavi Kumari
Pallavi Kumari

Posted on

Day 1 of 30 of Python

In this 30 days Python tutorial, I'll be sharing my knowledge in simple and lucid way which is easy for beginners to understand Python. We are going to learn all about python from beginner to advance level.
So let's get started ...

Python is an easy to learn programming language. It is a popular programming language which has wide range of application from application development to automation.
Python was created by Guido van Rossum in 1991.

Python is a computer Programming language which is used to create a range of application , including data science, webdevelopment and automation. It is easy to understand as its syntax is similar to english language.
Python relies on indentation to define scope for loops, function, and classes whereas in other language we use curly-brackets

Features of python

  1. Python is easy to Learn.
  2. Python is easy to maintain.
  3. It has pre-defined Libraries for many functions.
  4. It is fun to learn because of its simple syntax.

Application of Python

  1. GUI Interface - You can create UI interface for any web-based application with the help of python.
  2. Automation - You can automate any task using Python. If you perform any task repeatedly. Then you can automate it with the help of python, this process is called scripting.
  3. Data Science - Python has its own in-built libraries for many function which provide convenience to data science professionals. It provides amazing functionality to tackle statistics and complex mathematical calculations.
  4. Game Development - Python can also be used in developing games.
  5. Web Scrapping - Web Scrapping is a process to extract information from any websites in an easier way. This information is useful for researchers, and analysts for a variety of tasks. Python has features that make it suitable for web scrapping

Variable - It is an entity which is used to hold data in memory. You can store any data type in variable without declaring type first. This is one of the functionality of python which makes it different from other Programming language.

Image description

Typecasting - There are differnt operation we can perform on variable but the datatype should be same. String concatenation with integer is not allowed until we change the datatype of integer into string using '' or str(). Typecasting is a method to change the datatype of the variable.
For example:

Image description

How to take user input in python?
Python have its own in-built function for taking input.
For example:

Image description

If you are a beginner, you can start practicing either on Jupyter notebook or google colab. It has beginner friendly interface which is simple to understand.
You can use Shift+Tab key to find the method you can apply on Particular datatype or to read documentation of a function.

So this is it for this tutorial. In the next post we will be learning about list, Slicing operation, tuple, String in Python.

Thank you!!

Top comments (0)