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

Kursinnehåll

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

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 5

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

course content

Kursinnehåll

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

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 5
Vi beklagar att något gick fel. Vad hände?
some-alt