How do you make the equivalent to in python 2.7?
Offline
raw_input("Question here")
Offline
Magnie wrote:
raw_input("Question here")
how do you make it so it stores the answer as a var
and dosent say it out loud
Last edited by flashgocrazy (2011-12-19 17:40:37)
Offline
flashgocrazy wrote:
Magnie wrote:
raw_input("Question here")
how do you make it so it stores the answer as a var
var = raw_input("Question here")
same as 3 I would assume?
Doesn't show what the user types? That requires another module...
Last edited by Magnie (2011-12-19 17:41:47)
Offline
Magnie wrote:
flashgocrazy wrote:
Magnie wrote:
raw_input("Question here")
how do you make it so it stores the answer as a var
var = raw_input("Question here")
same as 3 I would assume?
Doesn't show what the user types? That requires another module...
import getpass
passwd = getpass.getpass("Enter your password: ")Offline
try this:
answer = raw_input("What's your name?")
Offline