what do we mean by instance variable in python code example
Example: instance variable in python
class Car: wheels = 4 # <- Class variable def __init__(self, name): self.name = name # <- Instance variable
class Car: wheels = 4 # <- Class variable def __init__(self, name): self.name = name # <- Instance variable