-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
Exercise: odd tuples
Write a procedure called oddTuples
, which takes a tuple as input, and returns a new tuple as output, where every other element of the input tuple is copied, starting with the first one. So if test is the tuple('I', 'am', 'a', 'test', 'tuple')
, then evaluating oddTuples
on this input would return the tuple ('I', 'a', 'tuple')
.
task of #19