PROBLEM 2 (12 pts) - Only the Course Code Remains Write a function which receives as input a list of numbers and returns
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
PROBLEM 2 (12 pts) - Only the Course Code Remains Write a function which receives as input a list of numbers and returns
PROBLEM 2 (12 pts) - Only the Course Code Remains Write a function which receives as input a list of numbers and returns as result True if it possible to apply only remove operations on this list and the contents of the list will remain [3,0,8]. def onlyCourseCodeRemains(someList): Some examples: onlyCourseCodeRemains ([1,2,4,3,6,8,5]) --> True onlyCourseCodeRemains ([1,3,4,3,0,7,5]) --> False onlyCourseCodeRemains ([1,3,4,6,7,8,5]) --> True
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!