Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- b = tuple(
- (None if d else 0)
- if i == 0
- else None
- if a[i] is None
- else (d - a[i]) // i
- if (d - a[i]) % i == 0
- else None
- for i in range(10)
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement