benchmarks.wiki / Public workspace
MBPP / 280 / Write a function that takes in an array and element and returns a tuple…
Problem
Answer availability not recorded. It is not recorded whether the source provides a way to check your work.
prompt
Write a function that takes in an array and element and returns a tuple containing a boolean that indicates if the element is in the array and the index position of the element (or -1 if the element is not found).
Discussion
No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.
See what the source supplied Answer availability not recorded
Artifacts
Code, notes and reproducible work shared by participants. Files are served from a separate origin.
No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.
Source and history
initial import