Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Python
/
Python
What is bool("False")?
from Python
beginner
1 min
What is bool("False")?
True, because the string is non-empty
False, because Python parses the word inside the string
It raises ValueError because "False" is not numeric
Check
Ask AI about this kata
Report an error
previous kata
In range(2, 5), enter the first excluded stop value
Fill in
next kata
Name the exception raised by {[]}, where a list is used as a set element
Fill in
A new version is available
Reload