Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Deal with Percents | Introduction to Python 1/2
Introduction to Python for Data Analysis
course content

Kursinhalt

Introduction to Python for Data Analysis

Introduction to Python for Data Analysis

1. Introduction to Python 1/2
2. Introduction to Python 2/2
3. Explore Dataset
4. Becoming an Analyst

book
Deal with Percents

You've managed a lot of tasks already, but let's add something new related to math operations.

Math symbolUsageExample in PythonResult
*Multiplying numbers5 * 630
//Integer Division. It is used when we want to know how many right numbers the left number contains.15//27
%Remainder. It is used when we want to calculate the remainder of a division.15 % 21
question-icon

You have the price of the subscription for one app. Find the 20% of this price. To do it, you need to multiply the number by the percent. But be careful if we want to know how much is 30 % from 600 we need to do the following: 600 * 0.30.

old_price = 400
price_20 = 400
0.20

Click or drag`n`drop items and fill in the blanks

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 5

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

course content

Kursinhalt

Introduction to Python for Data Analysis

Introduction to Python for Data Analysis

1. Introduction to Python 1/2
2. Introduction to Python 2/2
3. Explore Dataset
4. Becoming an Analyst

book
Deal with Percents

You've managed a lot of tasks already, but let's add something new related to math operations.

Math symbolUsageExample in PythonResult
*Multiplying numbers5 * 630
//Integer Division. It is used when we want to know how many right numbers the left number contains.15//27
%Remainder. It is used when we want to calculate the remainder of a division.15 % 21
question-icon

You have the price of the subscription for one app. Find the 20% of this price. To do it, you need to multiply the number by the percent. But be careful if we want to know how much is 30 % from 600 we need to do the following: 600 * 0.30.

old_price = 400
price_20 = 400
0.20

Click or drag`n`drop items and fill in the blanks

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 5
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt