username = ["John", "Peter", "David"]
password = ["abc123", "123abc", "a1b2c3"]
Passwords and username are paired by index. (i.e., Johns password is abc123, etc.)
Then make the user input a username and password, then check if the input matches the pair of username and password. If account exists, display Welcome, [username]!. Else, Account not found.
Use 1 for loop.
On the first line of your output, print a Submitted By: line.
A sample screenshot of the expected output is shown below. Take note of the differences in output when the user provides a wrong answer and when the user provides a correct answer.
I attach picture, so the out is like that same as in the picture.