040 The in operator in Python! Check if characters are in strings or items are in lists - 1 line!

Опубликовано: 12 Апрель 2026
на канале: Dr_Wu
1,710
130

Learn Python with Dr. Wu!

I teach this course in my AP Computer Science Principles class.

Learn about functions in Python!
In this video, I go over using the in opeator in Python for lists and strings..

Video includes lab and autograder.

Autograded labs:
https://dr-wu-crew.herokuapp.com/in_1
https://dr-wu-crew.herokuapp.com/in_2


00:06 Is item in list?
00:30 in operator
01:41 Common mistakes
01:42 Lab solutions

Music:

Greenery by Silent Partner:    • Greenery – Silent Partner (No Copyright Mu...  
License: You're free to use this song and monetize your videos.