Media Summary: In this video, we discuss two approaches on how to Don't use len but use not to be more Pythonic. Try except block is the most Pythonic way to do this. We go through some alternatives and why they don't do everything you want.
Overview

Python How To Check If The String Is Empty - Detailed Analysis

In this video, we discuss two approaches on how to Don't use len but use not to be more Pythonic. Try except block is the most Pythonic way to do this. We go through some alternatives and why they don't do everything you want.

Gallery

Photo Gallery

Related

Related Patients