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

Contenuti del Corso

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

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 5

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

course content

Contenuti del Corso

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

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 5
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt