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
Problem 11
d / f ---> 10 / 2 = 5.0 # Python 2.x with one division [/] operation symbol
***Ada Course written in Python 2.x
d // f ---> 10/ 2 = 5 # Python 3.x floor division / integer division
d / f ---> 10 / 2 = 5.0 # Python 3.x floating point division
So d / f in the Ada course with Python 2.x the solution is 5.0 instead of 5
The text was updated successfully, but these errors were encountered:
In Chapter 2
Practice Problems
Operators
d = 10
e = 5.0
f = 2
g = 11.0
h = 3
i = 1.5
Problem 11
d / f ---> 10 / 2 = 5.0 # Python 2.x with one division [/] operation symbol
***Ada Course written in Python 2.x
d // f ---> 10/ 2 = 5 # Python 3.x floor division / integer division
d / f ---> 10 / 2 = 5.0 # Python 3.x floating point division
So d / f in the Ada course with Python 2.x the solution is 5.0 instead of 5
The text was updated successfully, but these errors were encountered: