Posts by crocs • 1 point
2 posts
-
-1
votes1
answer679
viewsQ: Filter elements from a tuple based on a value in a given index
I want to write a Python function, called separates, that takes a Tuplo whose elements are pairs (double 2 elements), where the 1st element is a name (a string) and the 2nd element is an age (an…
-
0
votes0
answers53
viewsQ: Can anyone help write this program in python that involves tuples?
I am writing the python "check" function, which takes an argument of any type and returns True if that argument is a Tuplo whose elements are pairs (2-element doubles), where the first element is a…