bob_there¶
Requirements:
access a single character
if, else
loop through a string (while)
Output True
if the inputted string contains a "bob"
string, but where the middle 'o'
character can be any character.
This exercise was taken from codingbat.com and has been adapted for the Python language. There are many great programming exercises there, but the majority are created for Java.