Write a python class called Person that has a name property


Topic: Write a python class called Person that has a name property

Solution

class Person:
   def __init__(self, name):
      self.name = name



List all Python Programs