Re: [Tutor] OOPS Problem

2009-04-13 Thread wesley chun
hi, and welcome to Python! my comments below... > I made a class with the name student that prints simply name of the student > as well as his roll_no also, pasting code here . sounds pretty straightforward > class student: >     def __init__(self,name,roll_no): >         self.name=name >    

[Tutor] OOPS Problem

2009-04-13 Thread sudhanshu gautam
I am reading python since last 15 days ,read some basics of python , Last night was reading about the OOPS concepts ,but getting some problems , going to discuss with you people. MY CODE : I made a class with the name student that prints simply name of the student as well as his roll_no also,