Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
True vs False
#11
(Jun-14-2017, 09:31 AM)buran Wrote:
(Jun-14-2017, 09:06 AM)wavic Wrote: Hm!
It works here:

I mean, the error that will be raised if text is not 'true' or 'false', but e.g. 'maybe'
It's ok to raise it, becasue that is what Skaperen wants. Just mention that it will be different than the one I raise in my code above

I didn't miss it Smile
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  difference between «1 in [2] == False» and «(1 in [2]) == False» fbaldit 2 2,961 Apr-20-2020, 05:39 PM
Last Post: fbaldit
  Do break operators turn while loop conditions from True to False? Drone4four 5 4,333 Oct-24-2019, 07:11 PM
Last Post: newbieAuggie2019
  Returning True or False vs. True or None trevorkavanaugh 6 15,056 Apr-04-2019, 08:42 AM
Last Post: DeaD_EyE
  Returning true or false in a for loop bbop1232012 3 11,246 Nov-22-2018, 04:44 PM
Last Post: bbop1232012
  True == not False Skaperen 6 5,103 Aug-23-2018, 10:26 AM
Last Post: DeaD_EyE
  saving a true/false of a single value Skaperen 3 3,434 Aug-20-2018, 02:31 AM
Last Post: ichabod801
  Get True of false outside a loop morgandebray 2 3,183 Aug-09-2018, 12:39 PM
Last Post: morgandebray
  True or false if running something? Artdigy 4 4,315 Mar-27-2018, 05:50 PM
Last Post: nilamo
  How to turn variable true and false using function? hsunteik 5 8,156 Feb-20-2017, 11:44 AM
Last Post: hsunteik

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020