Why is str not callable

Discussion in 'Gaming' started by KyleWilliamsnichtgay, Nov 11, 2011.

  1. KyleWilliamsnichtgay

    KyleWilliamsnichtgay

    Joined:
    Nov 11, 2011
    Messages:
    1
    def TakeHoodie():
    TakeHoodie=input("Would you like to take the Bieber Hoodie? Y/N ")
    if TakeHoodie.upper == "Y":
    bp.append("Bieber Hoodie")
    lookIn()
    elif TakeHoodie.upper == "N":
    lookIn()
    else:
    print("You can't do that and we don't tolerate that language!")
    TakeHoodie()
    def lookIn():
    lookIn=input("Would you like to check the fridge? Y/N ")
    if lookIn.upper == "Y":
    print("You find a glowing bottle of Red Bull in the fridge.")
    stealBull()
    elif lookIn.upper == "N":
    print("You can hear the dinosaur stomping and the shack starts to fall")
    else:
    print("You can't do that and we don't tolerate that language!")
    lookIn()
    :trytofly:
    KyleWilliamsnichtgay, Nov 11, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UnViZW4=?=

    why not me, why?

    =?Utf-8?B?UnViZW4=?=, Apr 26, 2005, in forum: Wireless Networking
    Replies:
    2
    Views:
    573
    Gregg Hill
    Apr 27, 2005
  2. sam@nospam.org
    Replies:
    10
    Views:
    1,240
    sam@nospam.org
    May 1, 2005
  3. You HAVE NO IDEA

    Why Why Why

    You HAVE NO IDEA, Apr 22, 2004, in forum: MCSE
    Replies:
    31
    Views:
    1,475
    billyw
    Apr 24, 2004
  4. Sohaib Saleem
    Replies:
    7
    Views:
    2,486
    Sohaib Saleem
    Nov 3, 2008
  5. Velvet Whore

    Why? why? why?

    Velvet Whore, Nov 18, 2005, in forum: Computer Information
    Replies:
    1
    Views:
    377
    Fakename
    Nov 20, 2005
Loading...

Share This Page