Python - Programming Language
This course covers the basics of programming in Python. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!

Class Methods

Lesson 33
Author : Mike Dane
Last Updated : October, 2017


Copyclass Student:
    def __init__(self, name, major, gpa): = name
        self.major = major
        self.gpa = gpa

    def has_honors(self):
         if self.gpa >= 3.5:
               return True
          return False