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


String-2 > xyz_there
prev  |  next  |  chance

Return True if the given string contains an appearance of "xyz" where the xyz is not directly preceeded by a period (.). So "xxyz" counts but "" does not.

xyz_there('abcxyz') → True
xyz_there('') → False
xyz_there('') → True

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

def xyz_there(str):

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: 218.0

Copyright Nick Parlante 2017 - privacy