Run
import math x = math.inf y = 0 result = math.nextafter(x, y) print('nextafter() :', result)
Output