Зміст курсу
Learn Python from Scratch
Learn Python from Scratch
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)
Завдання
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Дякуємо за ваш відгук!
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)
Завдання
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Дякуємо за ваш відгук!
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)
Завдання
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".
Дякуємо за ваш відгук!
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)
Завдання
Please calculate the result of whole part division of 10 by 4. Print the result and print the type of resulting variable "c".