CJCoding With Joseph
15free / daySign inCreate account

Type Of A Division Result

Print two lines of output: the type of the true division of the declared numerator by the declared denominator (single slash), then the type of their floor division (double slash). Put the division inside the type() call so the result is checked, not the operands. Input: none; the values are fixed in the code.

Expected Output:

<class 'float'>
<class 'int'>

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
PrintingOperators
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.