-
-
Save codecademydev/ec72f1aa68772c18bada105d9a4b7e22 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
names = ["Mohamed", "Sara", "Xia", "Paul", "Valentina", "Jide", "Aaron", "Emily", "Nikita", "Paul"] | |
insurance_costs = [13262.0, 4816.0, 6839.0, 5054.0, 14724.0, 5360.0, 7640.0, 6072.0, 2750.0, 12064.0] | |
# Append Pricilla's info | |
names.append('Priscilla') | |
insurance_costs.append(8320.0) | |
#Combine the two list | |
medical_records = zip(names, insurance_costs) | |
print(list(medical_records)) | |
#The lenght of medical records | |
num_medical_records = len(medical_records) | |
print("There are " + str(num_medical_records) + " medical records.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment