Division and whole part division
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)
Swipe to start coding
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Løsning
Takk for tilbakemeldingene dine!
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 2.33Awesome!
Completion rate improved to 2.33
Division and whole part division
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)
Swipe to start coding
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Løsning
Takk for tilbakemeldingene dine!
single
Awesome!
Completion rate improved to 2.33
Division and whole part division
Sveip for å vise menyen
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)
Swipe to start coding
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Løsning
Takk for tilbakemeldingene dine!