How can you run code if you didn't use the print function?


i am a little confused here because i came to the( equal or not ) exercise and i found some code written in the box and when i pressed run code it gave me a result shouldn't i use a print or put function to run the code first or does anything i try to run runs if it had a normal and without mistakes syntax? please explain to me

is_true = 2 != 3

is_false = 2 == 3


This exercise simply asks to make each side of the = (assignment operator) match.

It's just to introduce you to comparators (!=, ==).

It's true that 2 is not equal to 3
It's false that 2 is equal to 3

You don't need to print anything to the console, just understand how comparators work :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.