Design a spyder(anaconda) program that asks the user to enter a charge account number. The programshould determine whether the number is valid by comparing it to the followinglist of valid charge account numbers: 5448215 5454386 6548941 5465489 3134893 87934688348921 2363486 4983769 6431923 0497986 0613583 5658845 4520125 7895122 8777541 8451277 13028508080152 4562555 5552012 5050552 7825877 12502551005231 6545231 3852085 7576651 7881200 4581002 These numbers should be stored in an array. The program must locate the number entered by the user. If the number is in the array, the program should display a message indicating the number is valid. If the number is not in the array, the program should display a message indicating the number is invalid.
Design a spyder(anaconda) program that asks the user to enter a charge account number. The programshould determine whether the number is valid by comparing it to the followinglist of valid charge account numbers:
5448215 5454386 6548941 5465489 3134893 87934688348921 2363486 4983769 6431923 0497986 0613583 5658845 4520125 7895122 8777541 8451277 13028508080152 4562555 5552012 5050552 7825877 12502551005231 6545231 3852085 7576651 7881200 4581002
These numbers should be stored in an array. The program must locate the number entered by the user. If the number is in the array, the program should display a message indicating the number is valid. If the number is not in the array, the program should display a message indicating the number is invalid.

Step by step
Solved in 3 steps with 2 images









