0
It says The Answer 6 is wrong and 6.0 is a Ryt answer. I can't understand the logic?
Can U explain why it gives a Float output.But in the previous screen the answer for 4/2 is 2 which is an Integer output
2 Réponses
+ 5
It appears that division operator returns a float in any way, though I probably be wrong, the Code Playground said 4/2 equals 2.0 and not 2 as integer, I just updated my offline Python course and still am not seeing your sub-chapter. As @Kirk suggested, you may need to tell, which chapter, or maybe it's a challenge question?
+ 3
Could you post the section descriptions (like, "Basic Operations" followed by which panel)?
I looked at several panels and their questions and still did not see your example.