from make_even_odd import make_even_ceil, make_even_floor, make_odd_ceil, make_odd_floor
print(list(make_even_ceil(*[198, 7, 12, 3])))
print(list(make_even_floor(*[198, 7, 12, 2, 1])))
print(list(make_odd_ceil(*[198, 7, 12, 3])))
print(list(make_odd_floor(*[198, 7, 12, 2, 1])))
[198, 8, 12, 4]
[198, 6, 12, 2, 0]
[199, 7, 13, 3]
[197, 7, 11, 1, 1]
-
Notifications
You must be signed in to change notification settings - Fork 0
Make numbers even/odd
License
hansalemaos/make_even_odd
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Make numbers even/odd