You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a CPython function that takes a slice and determines if that slice describes a unit (i.e., slice(3,4) or slice(0,1)). If so, return the integer that can be used instead of the slice. If not, return None.
Implement a CPython function that takes a slice and determines if that slice describes a unit (i.e., slice(3,4) or slice(0,1)). If so, return the integer that can be used instead of the slice. If not, return None.