Page 2 of 2 First 12
  • Jump to page:
    #16
  1. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    155
    Your code can't possibly work correctly.
    Code:
    question.remove(question)
    Question isn't even an array. Thus, it cannot remove itself from itself.

    PS. To send me the file, either use email (cleanslatebot@gmail.com) or AIM (x999GaMeR999x).
    Last edited by †Yegg†; July 30th, 2005 at 01:56 PM.
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    12
    There are several variables not declared which also make an error...

    I suggest reading a book like Learning Python by Mark Lutz and David Ascher

    You have to delete the

    Code:
    question.remove(question)
    part, because it is not needed and you have to declare "question_list" and "qDictionary"


    anyways whats supposed to be in the qDictionary the answers to the the questions?

    for example

    Code:
    qDictionary = {"How are you?":"fine","Why are you mad?":"because of you"}
    Last edited by monkeyman23555; July 30th, 2005 at 04:57 PM.
    Those people who think they know everything are a great annoyance to those of us who do.
  4. #18
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2005
    Posts
    85
    Rep Power
    10
    guys im tellin u unless it was a lucky 1 time thing that all my questions where displayed w/o repeats...and no it didnt generate any errors....nope i jus re ran the proggy n it did the same thing its ran jus how i wanted it to.....n yes i have a question_list n all the other good stuff...im not sayin u r wrong i dont doubt either one of yall skillz jus maybe its a new trick or sumthin that no1 knows..lol yes i kno my source code aint pro lookin but ill be more then happy to send yall the prgram once i get all my features i want.....its nutin big...but damn it im proud of my lil game lol

    ill catch yall later i might be movin a lil to fast but was does it take to join a python hacker club thats what im lookin to do jus a lil team that teaches each other n does lil project n stuff i wanna trib to the open source n make good stuff

    peace out yall
  6. #19
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2005
    Location
    WA
    Posts
    29
    Rep Power
    0
    **removed by me**
  8. #20
  9. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    155
    Originally Posted by Pozican
    **removed by me**
    You can delete your own post by going to Edit.
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo