← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #237084]: How to prompt a user & input answer into a variable?

 

Question #237084 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/237084

    Status: Open => Answered

RaiMan proposed the following answer:
number = input("Give me a number")

for n in range(int(number)):
...

no validation of course ;-)
will crash if given number is invalid

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.