Sezione 2. Capitolo 3
single
Division and whole part division
Scorri per mostrare il menu
Division is easy - just use / operator.
If you use // instead of / Python will calculate the result and take only the whole part.
Please note the the result of division will always be type 'float' (floating point number)
Compito
Scorri per iniziare a programmare
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 3
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione