Connect with us

Hi, what are you looking for?


Python Tutorial For Data Science (1)

Python Tutorial For Data Science (1)
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.


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.


Click to comment

Leave a Reply

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

You May Also Like

Daily News

GitHub’s new feature “passwordless authentication” aims to increase account security and provide a smoother user experience. By opting for the “Enable passkeys” option within...

Artificial Intelligence

Scientists from Japan used AI deep learning to discover new geoglyphs in the Arid Peruvian coastal plain, in the northern part of Peru’s Nazca...

Artificial Intelligence

The Tokyo Institute of Technology and other organizations have announced the start of development of highly performing generative artificial intelligence using the Fugaku supercomputer,...

Artificial Intelligence

Japanese researchers announced that AI ChatGPT technology has succeeded in the annual national doctor’s exam. The AI chatbot, which has advanced speech features that...