Relative Content

Tag Archive for oop

MIT Problem Set 4c: Type Error: Encrypted Message not subscriptable

# Problem Set 4C # Name: # Collaborators: import json import ps4b # Importing your work from Part B ### HELPER CODE ### def load_words(file_name): ”’ file_name (string): the name of the file containing the list of words to load Returns: a list of valid words. Words are strings of lowercase letters. Depending on the […]

Coddy Python OOP Challenge

enter image description here
Help I’m stuck on this same challenge for 2 days straight. I don’t understand OOP in Python that much and how methods and normal functions work in Python😭. Can somebody help me? I don’t understand what is fuel_amt and mileage_per_litre even💀.