This statement checks if num1 is equal to the absolute value of num1
For instance,
num1 = 4 and the absolute value of num1 = 4. This would run the code inside the if statement but if num1 = -1 the absolute value of num1 = 1 and the if stamtent would be skipped because -1 does not equal 1
You have to press the Backspace key.
Explanation:
you need a better pic if possible, it's kinda hard to read the question.
It looks like you need to get both numbers from the input. Try doing something like this:
print(int(input()) + int(input()))
1 and 4 are both true, Although it looks like 1. being your correct answer.