Tip of the day
News
Instructions
Objective
Write a Python assignment program to work with bank data.
Requirements and Specifications






Source Code
# CSC-401 Assignment 6
# Due: July 5, 5:30 PM
# Author:
# Collaborators:
#
#
# Don't forget to delete 'pass' from each function
# Don't forget doc strings
#
def process_row(row):
'''
'''
pass
# This data is not used in any of the code. It is
# included as a reference. load_bank_data('customers.csv')
# should produce a dictionary very similar to this one.
bank_map = {
'Laaibah': (208.1, '10/22/2019'),
'Arnold': (380.999, '9/12/2019'),
'Sioned': (327.01, '1/1/2019'),
'Shayaan': (429.5, '2/28/2019'),
'Renee': (535.29, '4/09/2019'),
'Conal': (726.77, '9/21/2019'),
'Katarina': (730.11, '10/1/2019'),
'Theodor': (637.12, '10/15/2019'),
'Nadia': (433.33, '8/29/2019'),
'Jia': ('error', '7/23/2019'),
'Sana': (829.99, '10/26/2019')
}
def load_bank_data(file_name):
'''
'''
pass
def sets_exercise():
'''
'''
upstairs = {"beds", "clothes", "toothbrushes","lamps"}
downstairs = {"couch", "clothes", "chairs","lamps"}
pass
# --------------------------------------------
# TEST CODE below. Add all test code in the
# section below.
# --------------------------------------------
if __name__ == "__main__":
# --- tests for process_row ---
row = process_row('Laaibah,208.1,10/22/2019')
assert len(row) == 3
# --- tests for load_bank_data ---
data = load_bank_data('customers-s6.csv')
assert data['Nadia'][0] == 433.33
# --- tests for sets_exercise ---
results = sets_exercise()
assert results['up_only'] == {'toothbrushes', 'beds'}
Similar Samples
Explore our Python assignment sample to see how we tackle complex coding challenges. Our expert solutions demonstrate clear, well-commented code and effective problem-solving techniques. This sample showcases our commitment to delivering high-quality, error-free Python assignments tailored to meet your academic needs. Discover how we can help you achieve top grades!
Python
Word Count
4091 Words
Writer Name:Walter Parkes
Total Orders:2387
Satisfaction rate:
Python
Word Count
2184 Words
Writer Name:Dr. Jesse Turner
Total Orders:2365
Satisfaction rate:
Python
Word Count
6429 Words
Writer Name:Dr. Olivia Campbell
Total Orders:753
Satisfaction rate:
Python
Word Count
5883 Words
Writer Name:Dr. David Adam
Total Orders:489
Satisfaction rate:
Python
Word Count
5849 Words
Writer Name:Dr. Nicholas Scott
Total Orders:642
Satisfaction rate:
Python
Word Count
6162 Words
Writer Name:Professor Liam Mitchell
Total Orders:932
Satisfaction rate:
Python
Word Count
3640 Words
Writer Name:Professor Daniel Mitchell
Total Orders:465
Satisfaction rate:
Python
Word Count
4343 Words
Writer Name:Prof. Jackson Ng
Total Orders:627
Satisfaction rate:
Python
Word Count
7272 Words
Writer Name:Dr. Jennifer Carter
Total Orders:879
Satisfaction rate:
Python
Word Count
4577 Words
Writer Name:Dr. Sophia Nguyen
Total Orders:900
Satisfaction rate:
Python
Word Count
4145 Words
Writer Name:Dr. Isabella Scott
Total Orders:754
Satisfaction rate:
Python
Word Count
4193 Words
Writer Name:Dr. Isabella Scott
Total Orders:754
Satisfaction rate:
Python
Word Count
4165 Words
Writer Name:Dr. Ashley
Total Orders:685
Satisfaction rate:
Python
Word Count
4176 Words
Writer Name:Prof. Jackson Ng
Total Orders:627
Satisfaction rate:
Python
Word Count
3922 Words
Writer Name:Dr. Chloe Mitchell
Total Orders:957
Satisfaction rate:
Python
Word Count
4091 Words
Writer Name:Glenn R. Maguire
Total Orders:714
Satisfaction rate:
Python
Word Count
4747 Words
Writer Name:Dr. Sophia Nguyen
Total Orders:900
Satisfaction rate:
Python
Word Count
4594 Words
Writer Name:Dr. Samantha Benet
Total Orders:812
Satisfaction rate:
Python
Word Count
6716 Words
Writer Name:Dr. Isabella Scott
Total Orders:754
Satisfaction rate:
Python
Word Count
4347 Words
Writer Name:Prof. James Harper
Total Orders:664
Satisfaction rate: