I have a variable with type annotation as int. I want to assign it an arbitrary large value as default. If it was a float, I could have used math.inf. However, what should I use if variable is integer?
def calc(x: int = math.inf):
...
I have a variable with type annotation as int. I want to assign it an arbitrary large value as default. If it was a float, I could have used math.inf. However, what should I use if variable is integer?
def calc(x: int = math.inf):
...