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

 

lucky13


Given a list of ints, return true if the list contains no 1's and no 3's.


lucky13([0, 2, 4]) → True
lucky13([1, 2, 3]) → False
lucky13([1, 2, 4]) → False

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

def lucky13(nums):

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

Difficulty: 221

Copyright Nick Parlante 2017 - privacy