Python detail in class object

User entry me class ka use kaise kare
Plz give me complete details by using user entry in class object in python

that’s how you can take user input the code is below for your further reference…

name=input(“enter your name :”)
age=int(input(“enter your age :”))
class myclass():
def init(self,name,age):
self.name=name
self.age=age
def myfuction(self):
print(“My name is :”,+self.name)

m1 = myclass(name,age)
m1.name,m1.age