00:01
And to be creating a python program.
00:03
That will be creating a username and login.
00:10
So to get started, we're going to create two strings.
00:15
We'll call them f name for first name, l name, or last name.
00:22
Then we're going to create the pin or the number or digits.
00:32
So we're going to print out a message and telling them to enter the name, train the message saying enter your last name, then enter word digit.
01:01
So now we're going to create another variable or string and set it equal to the last name value.
01:10
Then we're going to create if statement, or if the last name, the last name, the length of last name is greater than or equal to five we want the login to take the um the substring between zero and five and then else or if it does not meet this condition we're going to take the first name uh a substring so like the first characters first part of the string and then add take the uh so take the module the 100 soviet kids, two digits.
02:06
And then we're going to print out the login.
02:09
We can print out a message as well.
02:17
Right, so now let's run this...