Back to Browse

Comparing different types in Python: When you can (and can't), and what you can do about it

620 views
Jul 26, 2021
6:09

If you try to compare two objects of different types in Python, you'll likely get an error. Here's a short summary of what happens, and how you can deal with it.

Download

1 formats

Video Formats

360pmp49.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Comparing different types in Python: When you can (and can't), and what you can do about it | NatokHD