Someone could help me to understand, why it is true.

Because for Zero but not greater than seven, so logically it must be false.

not 7 < 0 # True

Someone could help me to understand, why it is true.

Because for Zero but not greater than seven, so logically it must be false.

not 7 < 0 # True

you are absolutely right, but then the `not`

keyword flips your False into True

not False → true

not True → false