摘要:
一、读文件 filename = 'pi_digits.txt' with open(filename) as file_object: contents = file_object.read() >读取 print(contents) lines = file_object.readlines 阅读全文
2021年12月26日
摘要:
class Car(): def __init__(self, make, model, year): self.make = make self.model = model self.year = year self.odometer_reading = 0 def get_descriptive 阅读全文