Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Division | Numeric Types
Python Data Types

Scorri per mostrare il menu

book
Division

We have to use an operator / to divide numbers. We can divide all numbers, namely: integers, complex, floating point.

Input:
num_1 = 35
num_2 = 7
division = num_1/num_2

print(f'The division of {num_1} and {num_2} is {division }')

Output:
The division of 35 and 7 is 5.0
Compito

Swipe to start coding

You have 2 complex numbers, divide them.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 9
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

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

close

Awesome!

Completion rate improved to 3.85

book
Division

We have to use an operator / to divide numbers. We can divide all numbers, namely: integers, complex, floating point.

Input:
num_1 = 35
num_2 = 7
division = num_1/num_2

print(f'The division of {num_1} and {num_2} is {division }')

Output:
The division of 35 and 7 is 5.0
Compito

Swipe to start coding

You have 2 complex numbers, divide them.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

close

Awesome!

Completion rate improved to 3.85

Scorri per mostrare il menu

some-alt