Connect with us

Hi, what are you looking for?

Python Tutorial For Data Science (1)
Python Tutorial For Data Science (1)

Programming

Python Tutorial For Data Science (1)

In this tutorial, we going to look at python basics for data science. We going to learn “output, variable, input, basic function, and basic programming info” Let’s start the tutorial.

Basic concepts
What Is Programming?

Computer programming is the process of designing and constructing executable computer programs to complete specific calculation results or perform specific tasks.

What Is Function?

We will use this concept a lot, so it will be better to learn at first. It is a string of commands used to perform a certain set of operations. It is also called the parts that perform the given task.

What Is The Argument?

mostly used for customizing functions, can be like variables for functions. it will be further reinforced with examples so we took a brief look at it.

Output Function And Parameters

The print function is used to write output to the screen. There are a few arguments that help this function. In this section, we will handle both the print function and these arguments.

We wrote Hello World, but we don’t write “Hello World” we will see the reason for this in variables, now we going to learn basic print arguments.

Variables

One of the first topics taught at the beginning of programming is variables. We will now look at a variable and examine it. We will look at 5 basic variables in this course, they will be int, string, bool, char, and float.

Variables are structures that hold a value inside. used to store the same type of data

Did you see, we used again “Hello World”, quotes show us that this data is a string so we didn’t see quotes on the console. They hold data in variables, but this data is temporary and is deleted and rewritten when you start the program again.

Input Function

We going to learn the input function but now, we don’t know type conversions so we going to work on a string. The input function is used to get string data from the user.

Type Function

This function will make your job very easy at the beginning. With this function, you can find which variable is of which type. For example, you created a new project and you have a value but, you forget this data type, in this case, you can use the type function.

You need to print() function to write on the console.

CONGRATULATIONS, YOU PASSED FIRST PYTHON GUIDE!

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Programming

clean code is essential for updating scripts, adding new features to code, etc. So every developer, must learn how to clean the code. With...

Daily News

Cloud computing is a system that is often heard today and that most developers use at least once. In this article, we’ll look at...

Game Development

Visual Studio Code without a doubt, most popular and loved code editor in the code editor market. Many developers love working with Vs Code....

Daily News

GitHub Copilot was introduced last year and continues to make it easier for developers with nice updates to date. Although most people see Github...