You're referring to the constant variable - DogAgePerYearInHuman
- in your print statement. You need to replace that with the result of your product: HumanAgeIfDog
.
Per Epsi95's comment, you also need to cast the input as integer (int(HumanAge)
). Otherwise you'll get another unexpected result.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…