Need some assistance with this program.
# This program checks for valid charge account numbers
# from the charge_accounts.txt file.
# Get the list of valid account numbers.
5658845, 4520125, 7895122, 8777277, 8451277, 1302850,
8080152, 4562555, 5552012, 5050552, 7825877, 1250255
= a charge number to check "exit" to end: ')
'The charge number is invalid.')
# get the next charge number to check.
= a to check"exit" to end: ')
# The function gets the list of valid account numbers from the
# charge_accounts.txt file and returns it.
# create empty list
# open the charge_accounts.txt file.
= open'charge_accounts', '')
Recently Asked Questions
- Many powerful U.S. retailers are expanding into Canada and creating intense competition for Canadian retailers. Why has the U.S. chosen this route of
- prove that disjunction defined via x or y:=x+y+x*y for all x,y in Z/2Z is associative
- Starbucks How will the company’s philosophy affect the cost and efficiency of its operation? Is Starbucks able to balance the triple bottom line and