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

 

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

Return true if there are 3 capital letters in a row inside the given string, false otherwise. Feel free to re-use your previous solutions to complete this.


hasThreeCaps('AbAbA') → False
hasThreeCaps('') → False
hasThreeCaps('Y') → False

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

def hasThreeCaps(s):

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