Is it appropriate to say that a function not having a return statement is valid?
HimaniBansal -6 Newbie Poster
Sheetal_1 0 Newbie Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
griswolf commented: In Python an object may be used in a boolean expression, e.g. if object_value: +11
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.