0
What am I missing to compute the age?
let birthYear = 1992 var currentYear = 2020 var age = “currentYear - birthYear” print (age) https://code.sololearn.com/cu0mR44SRmcN/?ref=app
1 Réponse
+ 1
You have to remove the quotes around your calculation. Everything in quotes is a string and will not be calculated.