Back to tasks
Two divisions
BeginnerPython for kids 路 Lesson 15: type() - what type is a value?
Problem Statement
Print the type of 10 / 2, and on the second line the type of 10 // 2.
<class 'float'>
<class 'int'>
Output Format
Exactly the text from the example.
Examples
Example 1
Output
<class 'float'> <class 'int'>