Help with coding in Python

Discussion in 'Off-Topic' started by Daniel, Oct 27, 2014.

Thread Status:
Not open for further replies.
  1. Daniel
    Offline

    Daniel Well-Known Member

    Joined:
    May 25, 2014
    Messages:
    1,372
    I'm making a game in Python for my homework and I'd really like some help ;)

    What I need to do is have a function which will ask a question and the person playing the game will have to type the answer. All I need help with is making the function, I can do the other part about what happens if the answer is right or wrong :p

    Thanks ;)
     
  2. Skyttles
    Offline

    Skyttles Senior Member

    Joined:
    Feb 15, 2014
    Messages:
    1,483
  3. Magik
    Offline

    Magik Experienced Member

    Joined:
    Jan 20, 2013
    Messages:
    1,042
    Discord:
    Magik#9902
    IGN:
    MagikIsAMush
    My friend is coding Python. I can ask him
     
  4. Magik
    Offline

    Magik Experienced Member

    Joined:
    Jan 20, 2013
    Messages:
    1,042
    Discord:
    Magik#9902
    IGN:
    MagikIsAMush
    Variable = input("the question")

    Does it sounds right ?
     
  5. Daniel
    Offline

    Daniel Well-Known Member

    Joined:
    May 25, 2014
    Messages:
    1,372
    Ok. I'll try that when I can get on computer tomorrow morning :p

    Thanks :)
     
  6. PredatorianX
    Offline

    PredatorianX Active Member

    Joined:
    Aug 21, 2013
    Messages:
    295
    Man I sucked at Python when we did it.
    Well I went the furthest in the tutorials, but I only just managed to get there. I have no clue sorry :(
     
Thread Status:
Not open for further replies.

Share This Page