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

 

dsawyer@methacton.org > exactly
prev  |  next  |  chance

Complete the function so that it returns True if the list contains exactly three threes; otherwise, it returns False.


exactly([3, 5, 3, 3]) → True
exactly([9, 3, 3, 3, 3]) → False
exactly([3, 3]) → False

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

def exactly( 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: 200

Copyright Nick Parlante 2017 - privacy