Question: Question 1 Write a function to check whether a user is valid user or not. If user is valid user then a welcome message should
Question
Write a function to check whether a user is
valid user or not. If user is valid user then a
welcome message should display with a token
number. Token number will be generated based
on first palindrome number of digits.
If the user is not valid user then the function
should display "UserId or password is not valid,
pls try again.".
All valid Userid and password should be stored
in an array like below :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
