Doubt in this one

class Student:

def init(self,Name,Rollno):
self.__name=Name
self.__rollno=Rollno
#Setter Method
def set_name(self,x):
print(“Student Name is”,Student_Name)
self.__name=x
pass

#Getter Method
def get_name(self):
print(“Student Name is”,Student_Name)
return self.__name
pass

#Setter Method
def set_rollno(self,x):
print(“Student Rollno is”,Roll_no)
self.__rollno=x
pass

#Getter Method
def get_rollno(self):
print(“Student Rollno is”,Roll_no)
return self.__rollno
pass

Student_Name.set_name()
print(Student_Name.get_name())
Student_Rollno.set_rollno()
print(Student_Rollno.get_rollno())

@nyalakondasriharsha1

What you are not understanding from this question?

im unable to get output mam

@nyalakondasriharsha1

If you are not able to get the output cose it in the editor and paste the error screenshot so that I can check what is the actual error.

it is getting like indentation error mam

@nyalakondasriharsha1

You need to check the spaces in your code .

even all are ok but it will getting like that only

@nyalakondasriharsha1

Paste your code.

i already gave that code in starting

@nyalakondasriharsha1

I want the ide code where you have done the code and getting the error.