id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

cse160-staff@cs.washington.edu cse160_22au_checkin01 > contains_hidden
prev  |  next  |  chance

Returns True if int hidden_num is found in the given array.


contains_hidden([5, 2, 6, 3, 4], 3) → True
contains_hidden([3, 6, 11, 2, 5], 19) → False
contains_hidden([3, 6, 11, 2, 5], 5) → True

...Save, Compile, Run (ctrl-enter)

def contains_hidden(nums, hidden_num):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Post-solution available

Copyright Nick Parlante 2017 - privacy