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
- What are some cultural differences that might affect responses to particular stimuli, particularly in taste and pain?
- Write a three paragraph or more summary about the article below what is it about, do you have any opinions about it? anything you would like to add? The link
- Please refer to the attachment to answer this question. This question was created from HW1.fa17.pdf.