Profile PictureChip Sized

Python Quiz 23 - Data Types

2 comments

Current user avatar
Log in or Register to join the conversation

Comment author avatar
kennithlowy@gmail.com

B false The code is using the `isinstance` function to check if the string 'true' is an instance of the boolean data type (`bool`). Since 'true' is a string, not a boolean value, the isinstance function returns False

Comment author avatar
Chip SizedCreator

That's the right answer! 💥 You can also consider getting the 250 Python Quizzes book to solve interesting and tricky quizzes if you like. 😊

Pastel Garden: Canva Templates

Open Slots For Free Python Course!!

Free Course For Python Challenge!!

Python Quiz 49 - Lists

This Free AI Tool Enhances Your Speech To Studio Quality

See all posts from Chip Sized