(s, _pwd_add_len1)
return pwd_str[_loc1_ - 1]
function NumS(s, _PwdAddLen1)
    {
       var _loc1_ = PwdStr.indexOf(s);
       _loc1_ = _loc1_ - (_PwdAddLen + _PwdAddLen1 - 1);
       if(_loc1_ <= 0)
       {
          return PwdStr.substr(_loc1_ + PwdStr.length,1);
       }
       return PwdStr.substr(_loc1_,1);
    }
function NumS(s, _PwdAddLen1)
    {
       var _loc1_ = PwdStr.indexOf(s);
       _loc1_ = _loc1_ - (_PwdAddLen + _PwdAddLen1 - 1);
       if(_loc1_ <= 0)
       {
          return PwdStr.substr(_loc1_ + PwdStr.length,1);
       }
       return PwdStr.substr(_loc1_,1);
    }
function NumS ( s _PwdAddLen1 ) { var _loc1_ = PwdStr . indexOf ( s ) ; _loc1_ = _loc1_ - ( _PwdAddLen + _PwdAddLen1 - 1 ) ; if ( _loc1_ < = 0 ) { return PwdStr . substr ( _loc1_ + PwdStr . length 1 ) ; } return PwdStr . substr ( _loc1_ 1 ) ; }
def num_s(s, _pwd_add_len1):
    """
    function NumS(s, _PwdAddLen1)
    {
       var _loc1_ = PwdStr.indexOf(s);
       _loc1_ = _loc1_ - (_PwdAddLen + _PwdAddLen1 - 1);
       if(_loc1_ <= 0)
       {
          return PwdStr.substr(_loc1_ + PwdStr.length,1);
       }
       return PwdStr.substr(_loc1_,1);
    }
    """
    _loc1_ = pwd_str.index(s)
    _loc1_ = _loc1_ - (_pwd_add_len + _pwd_add_len1 - 1)
    if _loc1_ <= 0:
        return pwd_str[_loc1_ + len(pwd_str) - 1]
    return pwd_str[_loc1_ - 1]
def num_s ( s , _pwd_add_len1 ) : _loc1_ = pwd_str . index ( s ) _loc1_ = _loc1_ - ( _pwd_add_len + _pwd_add_len1 - 1 ) if _loc1_ <= 0 : return pwd_str [ _loc1_ + len ( pwd_str ) - 1 ] return pwd_str [ _loc1_ - 1 ]