write code by python for password generator