About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Everything *NIX
Register FAQ Members List Calendar Today's Posts

Everything *NIX This is a general forum about all forms of *nix. Post your ideas and thoughts on this wonderful OS family. Talk about your personal favorite flavor of *nix and why you think it's so much better than the others. Anything pertaining to *nix and *nix administration should be posted here.

Reply
 
Thread Tools Display Modes
  #1   Add needtoknow to your ignore list  
Old 2008-11-30, 02:00
needtoknow needtoknow is offline
Regular
 
Canada
Default Python YOUR LOGIC IS.... flawed?

>>> if worldisflat == 1:
... stringtoprint = "You will fall"
... else:
... stringtoprint = "you wont fall"
...
>>> worldisflat = 0
>>> print stringtoprint
You will fall




Why am I falling? Or failing?


TeamFailure
http://teamfailure.uk.to/
Reply With Quote
  #2   Add Absinth Minded to your ignore list  
Old 2008-12-02, 23:26
Absinth Minded Absinth Minded is offline
Regular
 
Iraf Send a message via Yahoo to Absinth Minded
Default Re: Python YOUR LOGIC IS.... flawed?

Quote:
Originally Posted by needtoknow View Post

>>> print stringtoprint
The problem is, computers do exactly what you tell them to do, not what you expect them to do.

PEBKAM
Reply With Quote
  #3   Add PirateJoe to your ignore list  
Old 2008-12-04, 17:13
PirateJoe PirateJoe is offline
Regular
 
Shangri-La Send a message via AIM to PirateJoe Send a message via MSN to PirateJoe
Default Re: Python YOUR LOGIC IS.... flawed?

Code:
>>> worldisflat = 0

>>> if worldisflat == 1:

... stringtoprint = "You will fall"

... else:

... stringtoprint = "you wont fall"

...

>>> print stringtoprint

you wont fall
fix't
Reply With Quote
  #4   Add dfgremnantsunleashed to your ignore list  
Old 2008-12-04, 17:19
dfgremnantsunleashed dfgremnantsunleashed is offline
Regular
 
a.K.a Dfg (PK)
Default Re: Python YOUR LOGIC IS.... flawed?

Quote:
Originally Posted by PirateJoe View Post
Code:
>>> worldisflat = 0

>>> if worldisflat == 1:

... stringtoprint = "You will fall"

... else:

... stringtoprint = "you wont fall"

...

>>> print stringtoprint

you wont fall
fix't
^This
char worldisflat = 0;
if(worldisflat == 1)
cout<<"You will fall";
else
cout<<"You wont fall";
Reply With Quote
Reply

Tags
teamfailure


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics