from major import Major

class Concentration(Major):
	def __init__(self, dept="NONE"):
		super().__init__(dept, path="concentrations/")

if __name__ == '__main__':
	tmp = [
		Concentration(dept="Asian")
	]
	for i in tmp:
		print(i)

from major import Major

class Concentration(Major):
	def __init__(self, dept="NONE"):
		super().__init__(dept, path="concentrations/")

	def getConcentrationRequirement(self, string):
		return self.requirements[string]

if __name__ == '__main__':
	tmp = [
		Concentration(dept="Asian")
	]
	for i in tmp:
		print(i)

Add a getConcentrationRequirement to corrospond to getMajorRequirement
Add a getConcentrationRequirement to corrospond to getMajorRequirement

  from major import Major
  
  class Concentration(Major):
  	def __init__(self, dept="NONE"):
  		super().__init__(dept, path="concentrations/")
+ 
+ 	def getConcentrationRequirement(self, string):
+ 		return self.requirements[string]
  
  if __name__ == '__main__':
  	tmp = [
  		Concentration(dept="Asian")
  	]
  	for i in tmp:
  		print(i)
  
Add a getConcentrationRequirement to corrospond to getMajorRequirement
## Code Before:
from major import Major

class Concentration(Major):
	def __init__(self, dept="NONE"):
		super().__init__(dept, path="concentrations/")

if __name__ == '__main__':
	tmp = [
		Concentration(dept="Asian")
	]
	for i in tmp:
		print(i)

## Instruction:
Add a getConcentrationRequirement to corrospond to getMajorRequirement
## Code After:
from major import Major

class Concentration(Major):
	def __init__(self, dept="NONE"):
		super().__init__(dept, path="concentrations/")

	def getConcentrationRequirement(self, string):
		return self.requirements[string]

if __name__ == '__main__':
	tmp = [
		Concentration(dept="Asian")
	]
	for i in tmp:
		print(i)
