| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/zainabcodeplay/pythonprogram/master/split.py | [Back] [Original] |
def split_in_two(elements, num):
if num%2 == 0:
return elements[2:]
else:
return elements[:2]
| Web Proxy Viewer | New URL | Original Page |