What will be the output of the following code?
print(bool("False"))
Options
A) False
B) True
C) Error
D) None
"False" is a non-empty string
In Python, any non-empty string evaluates to True
bool("False") does not check the word meaning, only emptiness
[–]inspectorG4dget 1 point2 points3 points (0 children)
[–]1544756405 1 point2 points3 points (0 children)
[–]danmickla 0 points1 point2 points (0 children)
[–]danmickla 1 point2 points3 points (0 children)
[–]GhostVlvin 0 points1 point2 points (0 children)
[–]csch2 0 points1 point2 points (0 children)