0

Hello ,

Let's say I have :

def mine( a, b ):
    return a>=b - 1

I can't understand what's going on with the -1.

So , if a = 4 , b = 2 , it gives True
If the opposite it gives False.

As I said I don't know about the -1 here ( or generally whatever follows the initial a>=b )

Thanks!

2
Contributors
2
Replies
17
Views
1 Year
Discussion Span
Last Post by glao
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.