0% found this document useful (0 votes)
34 views18 pages

Fundamental of Python

This document provides an introduction to the Python programming language. It discusses why Python is a good choice for technical roles like data science and machine learning due to its user-friendly syntax, open source nature, multiplatform capabilities, and large library of modules. The document then covers Python's core data types including strings, integers, floats, booleans, lists, and tuples. It provides examples of each data type and how they are used in Python.

Uploaded by

alkautsar eko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views18 pages

Fundamental of Python

This document provides an introduction to the Python programming language. It discusses why Python is a good choice for technical roles like data science and machine learning due to its user-friendly syntax, open source nature, multiplatform capabilities, and large library of modules. The document then covers Python's core data types including strings, integers, floats, booleans, lists, and tuples. It provides examples of each data type and how they are used in Python.

Uploaded by

alkautsar eko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

FUNDAMENTAL

OF PYTHON
Hello !
Alkautsar
I am here to support you become a data scientist !

◉ Student (SMA Negeri Modal Bangsa) ~ 2012-2015


◉ Student (Institut Teknologi Sepuluh Nopember Surabaya) ~ 2015-2019
◉ Data Engineer (ITS Research center) ~ 2018-2019
◉ Software Engineer (PT Solusi Manufaktur SMART) ~ 2019-2021
◉ Administrator Database (Disdukcapil Pidie Jaya) ~ 2021-Present

2
Why Python ?

3
1
Technical
1. User Friendly
2. Open Source
5. Hype

• Data Science
• Machine Learning
• Data Analysis
• Artificial Intelligent
• Web development
• Mobile Apps
• Desktop Apps
3. Multiplatform
4. Modules and Library

5
#include <iostream>

using namespace std;


C++ -> int main() {
cout << "Hello World!";
return 0;
}

public class Main {

JAVA -> public static void main(String[] args) {


System.out.println("Hello World");
}
}

Python -> print("Hello World!")

6
Enterprise 2
Data Specialist

8
https://www.codingame.com/work/codingame-developer-survey-2020/
#page14 9
10

In learning you will teach,
and in teaching you will
learn.

11
MATERI YANG AKAN DI BAHAS

• Variable
• Tipe data
• Operator
• If else Statement
• Pandas
• Numpy
• Visualisasi Data

12
Variable
Variable 1
A Python variable is a symbolic name that is a reference
or pointer to an object. Once an object is assigned to a
variable, you can refer to the object by that name. But
the data itself is still contained within the object.

13


String
Integer
• Boolean
Data Type 2
• Float
• List
• Tuple

14
Python Data Types

String List Tuple


Strings are List is an ordered Tuple is an ordered
sequences of sequence of items. sequence of items
character data. The It is one of the same as a list. The
string type in most used datatype only difference is
Python is called in Python and is that tuples are
str. very flexible. All immutable. Tuples
ex: the items in a list once created cannot
do not need to be of be modified.
"Hello World“ the same type.
Ex:
Ex:
('xyz', 768, 2.23)
['xyz', 786, 2.23]

15
Python Data Types
Python Numbers
Integers, floating point numbers and complex
numbers fall under Python numbers category.

Integer Float
ex: Ex:
29 or 1209 2,9 or 12,09

16
Python Data Types

Boolean
Boolean type is one of the
built-in data types
provided by Python, which
represents one of the two
values i.e. True or False.
Ex:
a = True
type(a)
b = False
type(b)

17
THANKS!
Any questions?
You can find me at
085259826091/ [email protected]

18

You might also like