I am trying to import a class from one file to another module in Visual Studios (Python) and its not working

前端 未结 0 1016
清酒与你
清酒与你 2020-12-05 02:36

Here is my class code that I am trying to import, the file is called car.py:

class Car:
    def __init__(self, make, model, year):
        self.make = make
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题