Please enable JavaScript to use CodeHS

Introduction to Python Programming 2

Lesson 2.5 The in Keyword

Description

In this lesson, students will see how the in keyword can be used in an if statement to see if a particular letter or substring is in a string.


Objective

Students will be able to:

  • use the in keyword to check if a character is in a string