Why syntax error
Is it because of indenting or error in code im not very good at indenting years_ahead = input("type many years do you want to pass by") print("new ages of the gang") age = {"Bob": 30, "Dob": 24, "Mob": 31} def aging(x, y, z): xx = x + int(years_ahead) yy = y + int(years_ahead) zz = z + int(years_ahead) if xx >= 90: print(str(x) + ":dead") print(str(x) + "\'s corpse age:" + str(xx)) else: print(str(x) + (":") + str(xx)) if yy >= 120: print(str(y) + ":dead") print(str(y) + "\'s corpse age:" + str(yy) else: print(str(y) + (":") + str(yy)) if zz >= 110: print(str(z) + ":dead") print(str(z) + "\'s corpse age:" + str(zz)) else: print(str(z) + (":") + str(zz)) aging(age["Bob"], age["Dob"], age["Mob"])