Last answered:

10 Nov 2022

Posted on:

06 Nov 2022

1

Misunderstanding

Why is 10!=15, true ?

1 answers ( 0 marked as helpful)
Instructor
Posted on:

10 Nov 2022

0

Hi Teethbruhsh!
Thanks for reaching out.

This is because both numbers are not equal. In Python the != operator means 'not equal'. It returns True if operands on either side are not equal to each other, and returns False if they are equal.

Hope this helps.
Best,
Tsvetelin

Submit an answer