Section 2. Chapitre 3
single
Division and whole part division
Glissez pour afficher le 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)
Tâche
Glissez pour commencer à coder
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 3
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion