Python Forum
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic code help
#3
A simplified version of metulburr's code if you wanna be super pro...
print value == .1 or value > 1
(This is assuming that nothing funky will happen printing a boolean instead of a string, since they do both have the same string representation.)
Reply


Messages In This Thread
Basic code help - by crawlinkingsnake - Jan-16-2017, 06:16 PM
RE: Basic code help - by metulburr - Jan-16-2017, 10:05 PM
RE: Basic code help - by micseydel - Jan-16-2017, 11:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I can't for the life of me get this basic If statement code to work CandleType1a 8 2,234 May-21-2024, 03:58 PM
Last Post: CandleType1a
  List index out of range error when attempting to make a basic shift code djwilson0495 4 4,236 Aug-16-2020, 08:56 PM
Last Post: deanhystad
  Writing a basic shift code djwilson0495 2 2,943 Aug-16-2020, 01:52 PM
Last Post: djwilson0495
  Problem with Basic Rock Paper Scissors code BirinderSingh 3 3,663 Sep-13-2019, 03:28 PM
Last Post: ichabod801
  basic code help chche5 4 6,557 Feb-17-2018, 10:24 PM
Last Post: chche5
  Basic Doubt in code prateek3 6 5,987 Aug-19-2017, 01:05 PM
Last Post: ichabod801
  Need help with basic code Random 6 5,984 Feb-08-2017, 04:56 AM
Last Post: tannishpage

Forum Jump:

User Panel Messages

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