00:01
Program that is going to be taking the month, such as january, february, and so on, and taking and printing out the numeric version of the date.
00:16
So to get started, let's first create a function.
00:25
Go it, oops, call it month.
00:33
And we'll get in a variable.
00:43
Which we will call it.
00:54
Here we'll create a next thing.
01:01
So if month is equal to january, january, we are going to create a variable or an integer, have it in one.
01:35
Also if month is to february is going to be two.
01:49
Let's do one more.
01:54
Month is going to be able to march 3.
02:06
So now we're going to come out of this if statement, and we want to return the number of the month.
02:25
Right.
02:26
So now we, that's pretty much it.
02:30
So we can come out of here.
02:32
So now we're going to get user input.
02:35
So user is going to be able to we'll call it user month.
02:42
It'll be equal to, of course, our input.
02:45
Here are a month.
02:52
And we are going to create a loop.
02:58
So while user month, well user month does not equal negative 1 because this is what is going to be used to stop the program.
03:23
So while this is not negative 1, we want to find the comma when the user inputs.
03:39
So let's say list, actually we'll say arrange as equal to the user month.
03:57
Split...