Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hi all help about boolean
#1
hi all im new to programming and its logic and i ve read that if length of string longer than 256 and less than -5 the cache memory does nt save it and it turns false. like this:

a = 256
a is 256
True

a = 257
a is 257
False

but when i run this code on vs code it turns all true but when i run this code on idle it turns like this.
Reply


Messages In This Thread
hi all help about boolean - by akaw3 - Apr-30-2022, 11:28 AM
RE: hi all help about boolean - by Larz60+ - Apr-30-2022, 12:17 PM
RE: hi all help about boolean - by akaw3 - Apr-30-2022, 01:02 PM
RE: hi all help about boolean - by deanhystad - Apr-30-2022, 07:55 PM

Forum Jump:

User Panel Messages

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