Question
This is how i did it and it worked
c = 25 * 68 + 13 / 28
print (c)
the question is how did the variable C understood that its assigned to this mathematics operation ?
Question
This is how i did it and it worked
c = 25 * 68 + 13 / 28
print (c)
the question is how did the variable C understood that its assigned to this mathematics operation ?
The math is not assigned to c
. The outcome (evaluation) is what gets assigned.
We see, 25 * 68 + 13 / 28
.
The variable sees, 1700.4642857142858
.
This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.