diff --git a/oops b/oops new file mode 100644 index 00000000..42cf006d --- /dev/null +++ b/oops @@ -0,0 +1,9 @@ +class Car: + def _init_(self, name): + self.car_name = name + + def show(self): + print(f"My car name is {self.car_name}") + +obj1 = Car('Tata') +obj1.show()