Can someone tell me what is the difference between while(1) and while (true) in python?
Jump to Post
Latter causes uninitialized variable error if true variable is not defined. Python is case sensitive.
All 7 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.