Hi I'm fairly new to coding and I'm stuck on negation and how to properly implement it. I've been going through a textbook teaching myself and I'm stuck "Write an if statement that negates n, if and only if it is less than 0"
I've tried and failed miserably, any tips or help would be appreciated.
if -n > 0:
n = 1