import datetime
from datetime import date
today = date.today()
user_name = input('What is your name? ')
user_age = int(input('How old are you? '))
print('Hello ' + user_name + '! You were born in', today.year - user_age, '.')
What is your name? Tyler How old are you? 31 Hello Tyler! You were born in 1991 .
Process finished with exit code 0
how do i get rid of the space between the period at the end?
I tried using + but it wont work because its an integer