Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- values = ['boyle', 'charles', 'avogadro', 'einstein']
- length_of_values = 4
- def split_in_two(x,y):
- if y % 2 == 0:
- print(values[2:])
- else:
- print('welcome')
- split_in_two(values, 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement