You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would yield 1 as it it performs integer division
When converting this to Python, do we want to keep the integer division (ala Python 2) or do we want to use the Python 3 / behaviour that would yield 1.5?
The text was updated successfully, but these errors were encountered:
Taking the following fragment of C
This would yield
1
as it it performs integer divisionWhen converting this to Python, do we want to keep the integer division (ala Python 2) or do we want to use the Python 3
/
behaviour that would yield1.5
?The text was updated successfully, but these errors were encountered: