[Tutor] Constructing a object

Ashley Fowler afowler2 at broncos.uncfsu.edu
Wed Sep 12 04:23:25 CEST 2012


How do you construct a object using variables?

For instance I have to construct a student object, by first prompting the user to enter variables for the Student class (their first and last names, credits and gpa) then construct a Student object using those variables.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120912/0b46c366/attachment.html>


More information about the Tutor mailing list