Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: one string in another string

  • Write script called string_in_another_string.py that accepts two strings and tells if one of them can be found in the other and where?