| about | help | done | prefs | create account |
Python > Warmup-2 > array123
prev | next | chance
| Given an array of ints, return True if .. 1, 2, 3, .. appears in the array somewhere.
array123([1, 1, 2, 3, 1]) → True array123([1, 1, 2, 4, 1]) → False array123([1, 1, 2, 1, 2, 3]) → True ...Save, Compile, Run See also Python Example Code. Python help docs: Python Strings | Python Lists | Python If Boolean |
Forget It! -- delete my code for this problem 224.0
Copyright Nick Parlante 2006-10 - privacy