Question

Use python3 to import answers onto a new file named answers.txt a. What is the maximum...

Use python3 to import answers onto a new file named answers.txt

a. What is the maximum inventory number in the list of towed cars? (The data is a string.)
b. How long is the course name of the second course in the student's list of Semester classes?

c. How many classes is the student taking?

d. What is the student's birthdate?

e. Sort the Semester classes in alphabetical order.

list copy and pasted from trinket.io

--------------------

student={"ID":987654321,

"name":"Tony Meltzer",

"birthdate": "3/08/1999",

"courses": ["CS341","BIOG478","ART680","PHIL555"]}

Semester_classes={

"ART680": "The Art of War",

"PHIL555": "Introduction to Philosopy",

"CSA341":"Programing",

"CSB143":"Advanced Programing",

"BIOG478": "Organisms and You"

}

towed_cars=[{"color":”GRY","inventory_number":"2870838","make":"BUIC","style":"4D","tow_date":"2019-02-16T00:00:00.000","tow_facility_phone":"(773) 568-8495","towed_to_address":"10300 S. Doty"}

,{"color":"GRY","inventory_number":"6950398","make":"OLDS","plate":"AZG557","state":"IN","style":"4D","tow_date":"2019-02-16T00:00:00.000","tow_facility_phone":"(773) 265-7605","towed_to_address":"701 N. Sacramento"}

,{"color":"WHI","inventory_number":"2870697","make":"FORD","plate":"AG46352","state":"AZ","style":"LL","tow_date":"2019-02-16T00:00:00.000","tow_facility_phone":"(773) 568-8495","towed_to_address":"10300 S. Doty"}

,{"color":"WHI","inventory_number":"2870782","make":"HYUN","plate":"AX71888","state":"IL","style":"4D","tow_date":"2019-02-16T00:00:00.000","tow_facility_phone":"(773) 568-8495","towed_to_address":"10300 S. Doty"}

,{"color":"RED","inventory_number":"6950403","make":"FORD","plate":"VXH2781","state":"VA","style":"PK","tow_date":"2019-02-16T00:00:00.000","tow_facility_phone":"(773) 265-7605","towed_to_address":"701 N. Sacramento"}

,{"color":"WHI","inventory_number":"2870699","make":"FORD","plate":"AD47381","state":"AZ","style":"LL","tow_date":"2019-02-16T00:00:00.000","tow_facility_phone":"(773) 568-8495","towed_to_address":"10300 S. Doty"}

,{"color":"WHI","inventory_number":"6950402","make":"HYUN","plate":"ZY44547","state":"IL","style":"4D","tow_date":"2019-02-16T00:00:00.000","tow_facility_phone":"(773) 265-7605","towed_to_address":"701 N. Sacramento"}

,{"color":"BLK","inventory_number":"6951118","make":"TOYT","plate":"EKM221","state":"IA","style":"2D","tow_date":"2019-02-22T00:00:00.000","tow_facility_phone":"(773) 265-7605","towed_to_address":"701 N. Sacramento"}

,{"color":"GRY","inventory_number":"2871228","make":"DODG","plate":"FP48152","state":"IL","style":"4T","tow_date":"2019-02-22T00:00:00.000","tow_facility_phone":"(773) 568-8495","towed_to_address":"10300 S. Doty"}

,{"color":"GRY","inventory_number":"2871227","make":"VOLV","plate":"AQ53327","state":"IL","style":"4D","tow_date":"2019-02-22T00:00:00.000","tow_facility_phone":"(773) 568-8495","towed_to_address":"10300 S. Doty"}

,{"color":"GRN","inventory_number":"1538409","make":"HYUN","plate":"K969740","state":"IL","style":"4T","tow_date":"2019-02-22T00:00:00.000","tow_facility_phone":"(773) 265-1846","towed_to_address":"701 N. Sacramento"}

,{"color":"MAR","inventory_number":"2871221","make":"KIA","plate":"AN19754","state":"IL","style":"LL","tow_date":"2019-02-22T00:00:00.000","tow_facility_phone":"(773) 568-8495","towed_to_address":"10300 S. Doty"}

,{"color":"SIL","inventory_number":"0200013","make":"SUBA","plate":"R601618","state":"IL","style":"4D","tow_date":"2019-02-25T00:00:00.000","tow_facility_phone":"(312) 744-7550","towed_to_address":"400 E. Lower Wacker"}

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Use python3 to import answers onto a new file named answers.txt a. What is the maximum...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT