00:01
Okay, so in this problem, we were asked to create a python program, a very brief python program that takes in the name of a user, their birth here, it outputs a sentence like the following, hi, their name, you will be blank age at the end of the current year.
00:20
I'm going to assume it's the current year, though that wasn't specified.
00:24
So the first line is just an import of the daytime module to access the current year.
00:30
The next line is, is prompting the user for their name.
00:34
So in this case, you can just set it equal.
00:36
So name is equal to input.
00:38
And then what is your name? they'll be prompted to put in their name.
00:41
And it'll set whatever they input to the name variable.
00:46
Then you repeat that with the birth year, where you create a variable called birth year and set it equal to input, which year were you born? and they'll put in their birth year.
00:57
And then finally, you're going to do some calculations...