Friday 30 June 2017

Bool() Function

Cited from the book "Data Structure and Algorithms in Python"

bool(var): the use of a nonboolean value (represented by variable named "var") as a condition (the returned value from bool(var)) in a control structure.

No comments:

Post a Comment