Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9)
Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9).

When GeneratePassword(5,'abc0123') is called, it should return a random string of 5 characters taken from 'abc0123'. 

For Example : GeneratePassword(7,'abczxc012394') could return any of the following outputs : 
2c00acb 
2c23z93 
030b2a4

Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9)
===

Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9).

When GeneratePassword(5,'abc0123') is called, it should return a random string of 5 characters taken from 'abc0123'. 

For Example : GeneratePassword(7,'abczxc012394') could return any of the following outputs : 
2c00acb 
2c23z93 
030b2a4
