Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Division and whole part division | Arithmetic operations
Learn Python from Scratch
Seção 2. Capítulo 3
single

single

bookDivision and whole part division

Deslize para mostrar o 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)

Tarefa

Deslize para começar a programar

Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 3
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt