I need to accomplish this with indentation only.
Code:
major = raw_input("Enter your major: ")
major = major.strip().capitalize()
if (major =="Cent"):
print "That's my major too"
else:
print major,"is a good major."
ans = input ("Enter the number of credits you are taking: ")
if (ans > 11):
print "That's a lot of credits."
else:
working = raw_input("Are you working? y or n: ")
working = working.strip().lower()
if (working == "y"):
print "Working and going to school is hard"
else:
print "It's nice to just be able to study"
Comment