Python Input Variable Into Stringent Definition