if result: is the same as writing if result == True: if checks the validity of the condition.
if result:
if result == True:
Print the input, it appears above the test result.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
if result:
is the same as writingif result == True:
if checks the validity of the condition.Print the input, it appears above the test result.
This comment is hidden because it contains spoiler information about the solution