Image of therapy dogs with their names.

black_number = 1
cream_number = 2
total_number == '3'
total_number == (black_number + cream_number) = ?

What does total_number == (black_number + cream_number) evaluate to?
Choose an answer above!
  • It's also important to pay attention to the data types of the values you are comparing.
  • It's best to never use conditional operators on variables with different data types.
  • Technically, == can be used on different data types and it will always return false.
  • However, using the conditional operators > and < will cause an error.