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

 

konstans@stuy.edu all > isConsonant
prev  |  next  |  chance

Return true when the given string is a single character, that is a consonant. Return false when it is a special character vowel or more than a single character.


isConsonant('a') → False
isConsonant('b') → True
isConsonant('E') → False

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

def isConsonant(c):

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

Copyright Nick Parlante 2017 - privacy