1. Engineering
  2. Computer Science
  3. the code is in python...

Question: the code is in python...

Question details

The code is in Python

(c) If Im trying to establish if two integers are equal, whats the easiest way to compare their values in code. Write the statement that would achieve this? (d) If Im trying to establish if two real numbers (double or float) are equal, whats the correct way to compare their values? Write the statement that would achieve this?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution