Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 29th, 2005, 7:30 PM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,888
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Life Is Yet Again All In The Fourty Two

forty = [42-42/(42/42+42/42+42/42+42/42),
         42+42/42+42/42+42/42,
         42+42+int(str(42)[42/42-42/42])**int(str(42)[42/42])-42/42-42/42-42/42,
         42+42+(42/(42/42+42/42))-int(str(42)[42/42-42/42]),
         42+42+(42/(42/42+42/42))-42/42-42/42-42/42,
         -(42/42+42/42)+42+42+(42/(42/42+42/42)),
         42+42+(42/(42/42+42/42))-42/42,42+42+(42/(42/42+42/42)),
         42/42+42/42+42/42+(42/(42/42+42/42))+42+42,
         -int(str(42)[42/42-42/42])+int(str(42/42)*int(str(42)[42/42])+str(42)[42/42-42/42]),
         -(42/42+42/42+42/42)+int(str(42/42)*int(str(42)[42/42])+str(42)[42/42-42/42]),
         int(str(42/42)*int(str(42)[42/42])+str(42)[42/42-42/42]),
         42+42+42-42/(42/42+42/42+42/42+42/42)-42/42,
         int(str(42/42)*int(str(42)[42/42])+str(42)[42/42-42/42])+int(str(42)[42/42]),
         int(str(42/42)+str(42*42)[:42/42+42/42]),
         -(42/42+42/42)+int(str(42/42)+str(42)[42/42]+str(42/42)),
         int(str(42/42)+str(42)[42/42]+str(42/42))]

two = [int(str(42)[42/42-42/42])*int(str(42)[42/42]),
        int(str(42)[42/42])*int(str(42)[42/42-42/42])-42/42,
        int(str(42)[42/42-42/42]),
        -(42/42)+int(str(42)[42/42-42/42]),
        42**(42/42-42/42)-42/42,
        int(str(42)[42/42])**(42/42+42/42+42/42)-42/42,
        int(str(42)[42/42-42/42])*(42/42+42/42+42/42),
        42/42-42/42,
        -42/42,
        42/42+42/42+42/42,
        -int(str(42)[42/42-42/42]),
        42/42-42/42,
        42/42+42/42,
        42/42+42/42+42/42+42/42+42/42,
        42/42+42/42,
        int(str(42)[42/42])**(42/42+42/42+42/42)-42/42,
        42/42+int(str(42)[42/42])*int(str(42)[42/42-42/42]),
        42*(42-42),
        42/42+42/42,
        int(str(42)[42/42])**(42/42+42/42+42/42),
        int(str(42)[42/42])**(42/42+42/42+42/42),
        42-42,
        int(str(42)[42/42])*int(str(42)[42/42-42/42])-42/42,
        -(int(str(42)[42/42])**(42/42+42/42+42/42)),
        42-42,
        -int(str(42)[42-42]),
        int(str(42)[42/42])+int(str(42)[42/42-42/42]),
        -(42/42)+int(str(42)[42/42-42/42]),
        42-42,
        -int(str(42)[42-42])-(int(str(42)[42/42])**(42/42+42/42+42/42))-42/42,
        42/42+42/42+int(str(42)[42/42])*int(str(42)[42/42-42/42]),
        42/(42/42+42/42+42/42),
        -(int(str(42)[42/42])+int(str(42)[42/42-42/42])),
        42/(42/42+42/42+42/42)-42/42,
        -42**(42/42-42/42),
        42-42,
        42/(42/42+42/42+42/42)-42/42,
        42/(42/42+42/42+42/42)+42/42,
        -(int(str(42)[42/42])+int(str(42)[42/42-42/42]))-42**(42/42-42/42)]

forty_two = ""
for fortytwo in two:forty_two+=chr(forty[fortytwo])
print forty_two



If you guessed I'm bored, you were damn right.


EDIT: Oops, if you wish to move this to the Python forum, you may. :o
Sane is offline   Reply With Quote
Old Sep 29th, 2005, 7:40 PM   #2
pr0gm3r
Hobbyist Programmer
 
Join Date: Dec 2004
Location: CA
Posts: 102
Rep Power: 4 pr0gm3r is on a distinguished road
Send a message via MSN to pr0gm3r
Hey if you're bored why don't you pick up some project ..heheheh..
__________________
--
pr0gm3r
pr0gm3r is offline   Reply With Quote
Old Sep 29th, 2005, 7:44 PM   #3
crazykid48x
Programmer
 
crazykid48x's Avatar
 
Join Date: Apr 2005
Posts: 96
Rep Power: 4 crazykid48x is on a distinguished road
when im bored I run random searches on the internet, using the first word that comes to mind. Believe it or not ive found some pretty interesting stuff this way.
crazykid48x is offline   Reply With Quote
Old Sep 29th, 2005, 7:47 PM   #4
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,888
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
I do, I have tons of projects going on right now. But I'm a Procrastinator 3000 (Limited Edition: Extended Warranty).

If I were to do that google idea, I'd get some pretty dirty stuff. :x


Any guesses on what the program does?
Sane is offline   Reply With Quote
Old Sep 29th, 2005, 7:54 PM   #5
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Something with the number 42... just an idea.

Edit: I just ran it, you really ARE bored. wow...
__________________

tempest is offline   Reply With Quote
Old Sep 30th, 2005, 6:34 AM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Damn... you really don't live up to your name, do you?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:15 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC