7. What would be the output produced by fo
a, b, c = 0.1 – 0.1 0.1
d = 0.3
e = a + b + c =d
f = a + b + c == d.
print(e)
print(f)
Answers
Answered by
2
Answer:
program can't be executed
Explanation:
on the first line , it was an assignment statement
LHS has 3 comma(,) Separated variables , so RHS must have 3 comma separated values
So it will raise a syntax error
Also
you used a "==" and "." in line 4
"==" is a comparision operator
"." is used to access methods of an object
Similar questions