We've got more trouble! Today's challenge comes from jon_pot on Codewars. You are asked to:
Write a function tripledouble(num1,num2) which takes numbers num1 and num2 and returns 1 if there is a straight triple of a number at any place in num1 and also a straight double of the same number in num2. If this isn't the case, return 0
Good luck, and happy coding!
Want to propose a challenge for a future post? Email firstname.lastname@example.org with your suggestions!